]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: ak4458: remove the reset operation in probe and remove
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 16 Dec 2025 07:02:01 +0000 (15:02 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 17 Dec 2025 12:01:00 +0000 (12:01 +0000)
commit00b960a83c764208b0623089eb70af3685e3906f
treea05d5299539f8110015858781a0fd033c0ff99a4
parent9a068c4a77174d23c72649d16275df4c0a627510
ASoC: ak4458: remove the reset operation in probe and remove

The reset_control handler has the reference count for usage, as there is
reset operation in runtime suspend and resume, then reset operation in
probe() would cause the reference count of reset not balanced.

Previously add reset operation in probe and remove is to fix the compile
issue with !CONFIG_PM, as the driver has been update to use
RUNTIME_PM_OPS(), so that change can be reverted.

Fixes: 1e0dff741b0a ("ASoC: ak4458: remove "reset-gpios" property handler")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20251216070201.358477-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4458.c