diff options
| author | 2026-10-23 18:13:14 +0100 | |
|---|---|---|
| committer | 2026-10-26 20:04:23 +0000 | |
| commit | ea63182d71956dc33c6f08dc4171f1052f8409a9 (patch) | |
| tree | 6557eaccccfd72822bb317f5641d6050e834e4c4 /scripts/Makefile.thinlto | |
| parent | ASoC: codecs: wsa884x: disable runtime PM on unbind (diff) | |
ASoC: codecs: wsa883x: disable runtime PM on unbind
Probe enables runtime PM but nothing disables it on unbind, or when
registering the component fails. A pending autosuspend can then run
wsa883x_runtime_suspend() after the devm-managed regmap is freed, and
dereference NULL, as seen on wsa884x.
Use devm_pm_runtime_enable() so runtime PM is disabled before the regmap
is freed.
Fixes: 43b8c7dc85a1 ("ASoC: codecs: add wsa883x amplifier support")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20261023171316.819857-6-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
