Prechádzať zdrojové kódy

asoc: lpass-cdc: mark IIR filter coefficient registers as volatile

Mark IIR filter coefficient registers as volatile to
get actual coefficient when running tinymix.

Change-Id: Idcb9bb5bd322a429ced231f296c83d8a09ca7cce
Signed-off-by: Meng Wang <[email protected]>
Signed-off-by: Sudheer Papothi <[email protected]>
Sudheer Papothi 4 rokov pred
rodič
commit
10ccb2c0af
1 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  1. 5 1
      asoc/codecs/lpass-cdc/lpass-cdc-regmap.c

+ 5 - 1
asoc/codecs/lpass-cdc/lpass-cdc-regmap.c

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
  */
 
 #include <linux/regmap.h>
@@ -1204,6 +1204,10 @@ static bool lpass_cdc_is_volatile_register(struct device *dev,
 	case LPASS_CDC_RX_EC_ASRC2_STATUS_FMAX_CNTR_LSB:
 	case LPASS_CDC_RX_EC_ASRC2_STATUS_FMAX_CNTR_MSB:
 	case LPASS_CDC_RX_EC_ASRC2_STATUS_FIFO:
+	case LPASS_CDC_RX_SIDETONE_IIR0_IIR_COEF_B1_CTL:
+	case LPASS_CDC_RX_SIDETONE_IIR0_IIR_COEF_B2_CTL:
+	case LPASS_CDC_RX_SIDETONE_IIR1_IIR_COEF_B1_CTL:
+	case LPASS_CDC_RX_SIDETONE_IIR1_IIR_COEF_B2_CTL:
 		return true;
 	}
 	return false;