diff options
| author | Chancel Liu <chancel.liu@nxp.com> | 2026-09-23 15:13:01 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-23 14:23:00 +0200 |
| commit | 5ef6e7ff52db85556ef1fcca393366dfdd6452f9 (patch) | |
| tree | 9d59214cb957e75506c191490e49cde760329cea /include/linux/timerqueue.h | |
| parent | 07bcfafa4719046cca821917aa01e74ed7afef4b (diff) | |
ASoC: codecs: es8389: Move regulator and mclk acquisition to the i2c probe
component->dev is the underlying i2c device whose devres is only
released on physical device removal, not on ASoC card unbind. Getting
the core regulator supplies and the mclk with devm_*(component->dev, ...)
in the component probe therefore leaks those references on every card
bind/unbind cycle.
Move the devm_regulator_bulk_get() and devm_clk_get_optional() into the
i2c probe so the resources are tied to the physical device lifetime.
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://patch.msgid.link/20260923061305.4041197-18-chancel.liu@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
