diff options
| author | 2026-10-23 18:13:13 +0100 | |
|---|---|---|
| committer | 2026-10-26 20:04:23 +0000 | |
| commit | 54c121eaeed8ee7751935db8100b6b5c57124db9 (patch) | |
| tree | 7d3eeb48d1e5b5bc98097596b60a18d770073336 /scripts/Makefile.thinlto | |
| parent | ASoC: codecs: wsa883x: Accept temperatures across the full trim range (diff) | |
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/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
