]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs35l41: Hibernate wm_adsp on runtime suspend
authorStefan Binding <sbinding@opensource.cirrus.com>
Tue, 24 Feb 2026 16:18:07 +0000 (16:18 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 1 Mar 2026 23:48:39 +0000 (23:48 +0000)
commit4d80c0dbcda551b8b86ff14c6ae93026993970b2
treedc77b268633a0e9beeba761aa2450aa1b047c9a1
parent6394a52c90c4abd10c8265983ec1f53207cd283e
ASoC: cs35l41: Hibernate wm_adsp on runtime suspend

When the CS35L41 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: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://patch.msgid.link/20260224161821.93365-4-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l41.c