]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: fs210x: Make cache write through again during resume
authorMark Brown <broonie@kernel.org>
Wed, 15 Jul 2026 20:16:48 +0000 (21:16 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2026 11:54:58 +0000 (12:54 +0100)
commit7dcf091da4b4596f7dbfb403d946ee4aac423af3
tree0d5c9aaf27ca78fd2982622d43d00e268578daac
parent0b604e886ece11b71c4daaeccc512c784b89b014
ASoC: fs210x: Make cache write through again during resume

The fs210x driver currently puts the regmap cache into cache only mode
during suspend but at no point does it make it writable again, meaning
that device can't work after suspend other than basic powerup which
bypasses the cache.

Mark the cache as writable again when we resync the registers, it's not
clear to me that the cache only mode is needed at all but this is a
fairly minimal change.  Since this is setting a flag it's safe to do
even if the cache was not previously in cache only mode.

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260715-asoc-fs210x-fix-resume-v1-1-dd81d9c62c05@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/fs210x.c