From: Ryan Lee Date: Sat, 23 Jul 2022 01:52:20 +0000 (-0700) Subject: ASoC: max98373: Removing 0x203E from the volatile reg X-Git-Tag: v6.0-rc1~93^2~10^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd1963d837a082e1083cd396803d3d263a9ef68b;p=thirdparty%2Fkernel%2Flinux.git ASoC: max98373: Removing 0x203E from the volatile reg 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 Link: https://lore.kernel.org/r/20220723015220.4169-1-ryans.lee@analog.com Reviewed-by: Pierre-Louis Bossart Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/max98373-i2c.c b/sound/soc/codecs/max98373-i2c.c index 4fe065ece17cb..3e04c7f0cce43 100644 --- a/sound/soc/codecs/max98373-i2c.c +++ b/sound/soc/codecs/max98373-i2c.c @@ -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: