]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: cs35l45: Hibernate wm_adsp on runtime suspend
authorRicardo Rivera-Matos <rriveram@opensource.cirrus.com>
Tue, 24 Feb 2026 16:18:08 +0000 (16:18 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 1 Mar 2026 23:48:40 +0000 (23:48 +0000)
commit17c6bf433742e0c1ff5ce175145877c0194e4a7a
tree51ad9e27a0305636202b6a20572a8bc7afa30778
parent4d80c0dbcda551b8b86ff14c6ae93026993970b2
ASoC: cs35l45: Hibernate wm_adsp on runtime suspend

When the CS35L45 driver suspends, it is put into hibernation, and
the regmap goes into cache_only, but the firmware is still running, and
wm_adsp is not stopped. If userspace attempts to read a firmware
control, it will perform a regmap_raw_read() and this will produce an
error in the kernel log. To prevent spurious errors, put the DSP into
hibernation which prevents access to the hardware for the ALSA
controls.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://patch.msgid.link/20260224161821.93365-5-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l45.c