diff mbox series

[3/4] ASoC: tas2764: Mark SW_RESET as volatile

Message ID 20250208-asoc-tas2764-v1-3-dbab892a69b5@kernel.org (mailing list archive)
State Accepted
Commit f37f1748564ac51d32f7588bd7bfc99913ccab8e
Headers show
Series ASoC: tas2764: Random patches from the Asahi Linux tree | expand

Commit Message

Mark Brown Feb. 8, 2025, 1:03 a.m. UTC
From: Hector Martin <marcan@marcan.st>

Since the bit is self-clearing.

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/tas2764.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/sound/soc/codecs/tas2764.c b/sound/soc/codecs/tas2764.c
index 0b033ab51f7f..d01333c7dd93 100644
--- a/sound/soc/codecs/tas2764.c
+++ b/sound/soc/codecs/tas2764.c
@@ -642,6 +642,7 @@  static const struct regmap_range_cfg tas2764_regmap_ranges[] = {
 static bool tas2764_volatile_register(struct device *dev, unsigned int reg)
 {
 	switch (reg) {
+	case TAS2764_SW_RST:
 	case TAS2764_INT_LTCH0 ... TAS2764_INT_LTCH4:
 	case TAS2764_INT_CLK_CFG:
 		return true;