[alsa-devel] [PATCH] ASoC: max98373: Added speaker FS gain cotnrol register to volatile.

Ryan Lee ryans.lee at maximintegrated.com
Thu Aug 16 03:53:38 CEST 2018


Signed-off-by: Ryan Lee <ryans.lee at maximintegrated.com>
---
 Changes : Added Speaker FS gain maximum control(0x203E) register to volatile.
 sound/soc/codecs/max98373.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c
index 92b7125..2764fae 100644
--- a/sound/soc/codecs/max98373.c
+++ b/sound/soc/codecs/max98373.c
@@ -520,6 +520,7 @@ static bool max98373_volatile_reg(struct device *dev, unsigned int reg)
 {
 	switch (reg) {
 	case MAX98373_R2000_SW_RESET ... MAX98373_R2009_INT_FLAG3:
+	case MAX98373_R203E_AMP_PATH_GAIN:
 	case MAX98373_R2054_MEAS_ADC_PVDD_CH_READBACK:
 	case MAX98373_R2055_MEAS_ADC_THERM_CH_READBACK:
 	case MAX98373_R20B6_BDE_CUR_STATE_READBACK:
-- 
2.7.4



More information about the Alsa-devel mailing list