diff options
| author | Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> | 2026-10-23 18:13:14 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-26 20:04:23 +0000 |
| commit | ea63182d71956dc33c6f08dc4171f1052f8409a9 (patch) | |
| tree | 6557eaccccfd72822bb317f5641d6050e834e4c4 /scripts/basic/split-include.c | |
| parent | 54c121eaeed8ee7751935db8100b6b5c57124db9 (diff) | |
| download | linux-ea63182d71956dc33c6f08dc4171f1052f8409a9.tar.gz linux-ea63182d71956dc33c6f08dc4171f1052f8409a9.zip | |
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/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
