summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChancel Liu <chancel.liu@nxp.com>2026-09-23 15:12:55 +0900
committerMark Brown <broonie@kernel.org>2026-09-23 14:22:55 +0200
commitcc2977e802181ce6d239734be1ce02bfdbea2380 (patch)
treedb55864ef96fcf89193cd4a7960635e7a18bfef4 /include/linux/timerqueue.h
parentb5c9df40ca561ac61df68834c667400640a24f75 (diff)
ASoC: codecs: rt5514: Move clk 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 clocks with devm_clk_get*(component->dev, ...) in the component probe therefore leaks clk references on every card bind/unbind cycle. Move the mclk and dsp_calib_clk acquisition to rt5514_i2c_probe() so the clk references are 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-12-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