]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SDCA: Force some SDCA Controls to be volatile
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 20 Oct 2025 15:55:02 +0000 (16:55 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Oct 2025 15:31:19 +0000 (15:31 +0000)
commitc7b6c6b60594fd1efe35c61bc6a2176b25263ccc
treedee76a7aefef4924a4311bd8ee79ff9fcf72e5c1
parentdfe7c3401ed3d3bd8e61be8d6d452896513eb52e
ASoC: SDCA: Force some SDCA Controls to be volatile

Whilst SDCA does specify an Access Mode for each Control, there is not a
1-to-1 mapping between that and ASoC's internal representation. Some
registers require being treated as volatile from the hosts perspective
even in their Access Mode is Read-Write. Add an explicit list of SDCA
controls that should be forced volatile.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20251020155512.353774-10-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sdca_function.h
sound/soc/sdca/sdca_functions.c
sound/soc/sdca/sdca_regmap.c