diff options
| author | 2026-09-23 15:12:58 +0900 | |
|---|---|---|
| committer | 2026-09-23 14:22:57 +0200 | |
| commit | 8635b9033d039bdad19e65faf0450d738d34527f (patch) | |
| tree | f41b614154e7f1bcbbe6c28b9b0bc01c9c3fe347 /scripts/Makefile.thinlto | |
| parent | ASoC: codecs: max98090: Move mclk acquisition to the i2c probe (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
