summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Lee <ryans.lee@maximintegrated.com>2017-08-28 16:30:55 -0700
committerMark Brown <broonie@kernel.org>2017-08-31 12:45:07 +0100
commit9c1743ebe0da614517a1b94f171924d5fd758df4 (patch)
treed5385dfc76af790b68d64d8094eab06d1f1af0c2
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
downloadlinux-9c1743ebe0da614517a1b94f171924d5fd758df4.tar.bz2
ASoC: max98927: Updated volatile register list
Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/max98927.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c
index b5ee29499e16..768e84dbcdf6 100644
--- a/sound/soc/codecs/max98927.c
+++ b/sound/soc/codecs/max98927.c
@@ -495,6 +495,13 @@ static bool max98927_volatile_reg(struct device *dev, unsigned int reg)
{
switch (reg) {
case MAX98927_R0001_INT_RAW1 ... MAX98927_R0009_INT_FLAG3:
+ case MAX98927_R004C_MEAS_ADC_CH0_READ:
+ case MAX98927_R004D_MEAS_ADC_CH1_READ:
+ case MAX98927_R004E_MEAS_ADC_CH2_READ:
+ case MAX98927_R0051_BROWNOUT_STATUS:
+ case MAX98927_R0087_ENV_TRACK_BOOST_VOUT_READ:
+ case MAX98927_R01FF_REV_ID:
+ case MAX98927_R0100_SOFT_RESET:
return true;
default:
return false;