summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChancel Liu <chancel.liu@nxp.com>2026-09-23 15:12:53 +0900
committerMark Brown <broonie@kernel.org>2026-09-23 14:22:53 +0200
commite68e66353b8e3eb9e7d88c398a11af0cc4d2915d (patch)
treeae1cfbd1069b497ed41c2593cc3eb2ef3d155e0c /include/linux/timerqueue.h
parent10a45015665e8cb4f865106015246d472d7d7a3d (diff)
ASoC: codecs: rt5640: 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_optional(component->dev, ...) in the component probe therefore leaks a clk reference on every card bind/unbind cycle. Move the devm_clk_get_optional() to rt5640_i2c_probe() so the clk reference is tied to the physical device lifetime. Signed-off-by: Chancel Liu <chancel.liu@nxp.com> Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://patch.msgid.link/20260923061305.4041197-10-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