summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>2026-10-23 18:13:13 +0100
committerMark Brown <broonie@kernel.org>2026-10-26 20:04:23 +0000
commit54c121eaeed8ee7751935db8100b6b5c57124db9 (patch)
tree7d3eeb48d1e5b5bc98097596b60a18d770073336 /scripts/basic
parent6a55cf0d9dd2e2493a5030a4f7b0413d31165e45 (diff)
downloadlinux-54c121eaeed8ee7751935db8100b6b5c57124db9.tar.gz
linux-54c121eaeed8ee7751935db8100b6b5c57124db9.zip
ASoC: codecs: wsa884x: disable runtime PM on unbind
Probe enables runtime PM but nothing disables it on unbind. The pending autosuspend then runs wsa884x_runtime_suspend() after the devm-managed regmap is freed, and dereferences NULL: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000020 pc : regcache_cache_only+0x18/0x80 lr : wsa884x_runtime_suspend+0x24/0x40 [snd_soc_wsa884x] Use devm_pm_runtime_enable() so runtime PM is disabled before the regmap is freed. Fixes: aa21a7d4f68a ("ASoC: codecs: wsa884x: Add WSA884x family of speakers") Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> Link: https://patch.msgid.link/20261023171316.819857-5-srinivas.kandagatla@oss.qualcomm.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions