]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: max98373: Removing 0x203E from the volatile reg
authorRyan Lee <ryan.lee.analog@gmail.com>
Sat, 23 Jul 2022 01:52:20 +0000 (18:52 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 25 Jul 2022 17:10:41 +0000 (18:10 +0100)
The 0x203E speaker gain register should be non-volatile.
This register value was not able to be synced because it was marked as
volatile.

Signed-off-by: Ryan Lee <ryans.lee@analog.com>
Link: https://lore.kernel.org/r/20220723015220.4169-1-ryans.lee@analog.com
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98373-i2c.c

index 4fe065ece17cb3e0655a25dcae154aa9dd69c6af..3e04c7f0cce43bff93d981e7d38acd7ef88ee99a 100644 (file)
@@ -442,7 +442,6 @@ 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: