diff options
| author | Chancel Liu <chancel.liu@nxp.com> | 2026-09-23 15:12:58 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-23 14:22:57 +0200 |
| commit | 8635b9033d039bdad19e65faf0450d738d34527f (patch) | |
| tree | f41b614154e7f1bcbbe6c28b9b0bc01c9c3fe347 /include/linux/timerqueue.h | |
| parent | bf4379a7195ea1133cb0672b94878c65419aa5b9 (diff) | |
ASoC: codecs: max98095: Move 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 codec clock with devm_clk_get(component->dev, ...) in the component
probe therefore leaks a clk reference on every card bind/unbind cycle.
Move the devm_clk_get() to max98095_i2c_probe() so the clk reference is
tied to the physical device lifetime.
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://patch.msgid.link/20260923061305.4041197-15-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
