diff options
| author | Chancel Liu <chancel.liu@nxp.com> | 2026-09-23 15:12:57 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-23 14:22:56 +0200 |
| commit | bf4379a7195ea1133cb0672b94878c65419aa5b9 (patch) | |
| tree | 3516997fc5083a30412d1a613ae0e9dfc4cec3d8 /include/linux/timerqueue.h | |
| parent | c580cd416b684a4411a842010ce88bd114b75340 (diff) | |
ASoC: codecs: max98090: 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 max98090_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-14-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
