diff options
Diffstat (limited to 'sound/soc/codecs/max98373.c')
| -rw-r--r-- | sound/soc/codecs/max98373.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index 92b7125ea169..1093f766d0d2 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) | |||
| 520 | { | 520 | { |
| 521 | switch (reg) { | 521 | switch (reg) { |
| 522 | case MAX98373_R2000_SW_RESET ... MAX98373_R2009_INT_FLAG3: | 522 | case MAX98373_R2000_SW_RESET ... MAX98373_R2009_INT_FLAG3: |
| 523 | case MAX98373_R203E_AMP_PATH_GAIN: | ||
| 523 | case MAX98373_R2054_MEAS_ADC_PVDD_CH_READBACK: | 524 | case MAX98373_R2054_MEAS_ADC_PVDD_CH_READBACK: |
| 524 | case MAX98373_R2055_MEAS_ADC_THERM_CH_READBACK: | 525 | case MAX98373_R2055_MEAS_ADC_THERM_CH_READBACK: |
| 525 | case MAX98373_R20B6_BDE_CUR_STATE_READBACK: | 526 | case MAX98373_R20B6_BDE_CUR_STATE_READBACK: |
| @@ -729,6 +730,7 @@ static int max98373_probe(struct snd_soc_component *component) | |||
| 729 | /* Software Reset */ | 730 | /* Software Reset */ |
| 730 | regmap_write(max98373->regmap, | 731 | regmap_write(max98373->regmap, |
| 731 | MAX98373_R2000_SW_RESET, MAX98373_SOFT_RESET); | 732 | MAX98373_R2000_SW_RESET, MAX98373_SOFT_RESET); |
| 733 | usleep_range(10000, 11000); | ||
| 732 | 734 | ||
| 733 | /* IV default slot configuration */ | 735 | /* IV default slot configuration */ |
| 734 | regmap_write(max98373->regmap, | 736 | regmap_write(max98373->regmap, |
| @@ -817,6 +819,7 @@ static int max98373_resume(struct device *dev) | |||
| 817 | 819 | ||
| 818 | regmap_write(max98373->regmap, | 820 | regmap_write(max98373->regmap, |
| 819 | MAX98373_R2000_SW_RESET, MAX98373_SOFT_RESET); | 821 | MAX98373_R2000_SW_RESET, MAX98373_SOFT_RESET); |
| 822 | usleep_range(10000, 11000); | ||
| 820 | regcache_cache_only(max98373->regmap, false); | 823 | regcache_cache_only(max98373->regmap, false); |
| 821 | regcache_sync(max98373->regmap); | 824 | regcache_sync(max98373->regmap); |
| 822 | return 0; | 825 | return 0; |
