diff options
| author | Chancel Liu <chancel.liu@nxp.com> | 2026-09-23 15:12:52 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-23 14:22:52 +0200 |
| commit | 10a45015665e8cb4f865106015246d472d7d7a3d (patch) | |
| tree | 14c29822565907d553de39f1329fbb5f0b22ee7d /include/linux/timerqueue.h | |
| parent | 5cc3c8f7264ea83b2c597d3d71d1a4a4a515d65f (diff) | |
ASoC: codecs: es8328: Move clk acquisition to the bus probe
component->dev is the underlying i2c/spi 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 es8328_probe() (the shared i2c/spi bus level
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-9-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
