Browse Source

ASoC: bolero: Fix voice activation not working on SWR MICs

Voice Activation is not working from second time on SWR
MICs. Make tx macro registers related to SWR MIC as
volatile to resolve the issue.

Change-Id: Iac52af37d32b53ada193d855949b345da0e47d9c
Signed-off-by: Vatsal Bucha <[email protected]>
Vatsal Bucha 5 years ago
parent
commit
efd65f1224
1 changed files with 4 additions and 0 deletions
  1. 4 0
      asoc/codecs/bolero/bolero-cdc-regmap.c

+ 4 - 0
asoc/codecs/bolero/bolero-cdc-regmap.c

@@ -797,6 +797,10 @@ static bool bolero_is_volatile_register(struct device *dev,
 	case BOLERO_CDC_VA_TOP_CSR_CORE_ID_1:
 	case BOLERO_CDC_VA_TOP_CSR_CORE_ID_2:
 	case BOLERO_CDC_VA_TOP_CSR_CORE_ID_3:
+	case BOLERO_CDC_TX_TOP_CSR_SWR_DMIC0_CTL:
+	case BOLERO_CDC_TX_TOP_CSR_SWR_DMIC1_CTL:
+	case BOLERO_CDC_TX_TOP_CSR_SWR_DMIC2_CTL:
+	case BOLERO_CDC_TX_TOP_CSR_SWR_DMIC3_CTL:
 	case BOLERO_CDC_WSA_VBAT_BCL_VBAT_GAIN_MON_VAL:
 	case BOLERO_CDC_WSA_VBAT_BCL_VBAT_DECODE_ST:
 	case BOLERO_CDC_WSA_INTR_CTRL_PIN1_STATUS0: