Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
ASoC: codecs: es8389: Move regulator and 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 core regulator supplies and the mclk with devm_*(component->dev, ...) in the component probe therefore leaks those references on every card bind/unbind cycle. Move the devm_regulator_bulk_get() and devm_clk_get_optional() into the i2c probe so the resources are tied to the physical device lifetime. Signed-off-by: Chancel Liu <chancel.liu@nxp.com> Link: https://patch.msgid.link/20260923061305.4041197-18-chancel.liu@oss.nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Author Chancel Liu Committer Mark Brown Date (Sep 23, 2026, 12:23 PM UTC) Commit
Copy SHA
Parent 07bcfafa 07bcfafa4719046cca821917aa01e74ed7afef4b