aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-02-02 15:41:33 +0000
committerMark Brown <[email protected]>2024-02-13 17:36:01 +0000
commitb396071681ca65e66f2a8fce240cde26a6db5931 (patch)
tree68b905b83f4e5efa55b0650dfa4720c58345d99a
parentASoC: codecs: tx-macro: Drop unimplemented DMIC clock divider (diff)
downloadkernel-b396071681ca65e66f2a8fce240cde26a6db5931.tar.gz
kernel-b396071681ca65e66f2a8fce240cde26a6db5931.zip
ASoC: codecs: tx-macro: Mark AMIC control registers as volatile
Just like DMIC, the AMIC control registers are volatile. Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/codecs/lpass-tx-macro.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/lpass-tx-macro.c b/sound/soc/codecs/lpass-tx-macro.c
index cdceccf64ac8..2d4f6c04332b 100644
--- a/sound/soc/codecs/lpass-tx-macro.c
+++ b/sound/soc/codecs/lpass-tx-macro.c
@@ -432,6 +432,8 @@ static bool tx_is_volatile_register(struct device *dev, unsigned int reg)
case CDC_TX_TOP_CSR_SWR_DMIC1_CTL:
case CDC_TX_TOP_CSR_SWR_DMIC2_CTL:
case CDC_TX_TOP_CSR_SWR_DMIC3_CTL:
+ case CDC_TX_TOP_CSR_SWR_AMIC0_CTL:
+ case CDC_TX_TOP_CSR_SWR_AMIC1_CTL:
return true;
}
return false;