diff options
author | Tzung-Bi Shih <tzungbi@google.com> | 2020-02-14 18:57:42 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-02-14 16:46:24 +0000 |
commit | 4b8a1ca4628343829f373bf0d4e087fe50c451e5 (patch) | |
tree | 8a060e540e2d08f020f672e1af54f8db0e0f80d2 /sound/soc/codecs/max98090.h | |
parent | b6570fdb96edf45bcf71884bd2644bd73d348d1a (diff) |
ASoC: max98090: revert invalid fix for handling SHDN
Reverts commit 62d5ae4cafb7 ("ASoC: max98090: save and restore
SHDN when changing sensitive registers").
A critical side-effect was observed: when keep playing something,
the recorded sound has chance to break (clipping).
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20200214105744.82258-2-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max98090.h')
-rw-r--r-- | sound/soc/codecs/max98090.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98090.h b/sound/soc/codecs/max98090.h index 0a31708b7df7..a197114b0dad 100644 --- a/sound/soc/codecs/max98090.h +++ b/sound/soc/codecs/max98090.h @@ -1539,8 +1539,7 @@ struct max98090_priv { unsigned int pa2en; unsigned int sidetone; bool master; - int saved_count; - int saved_shdn; + bool shdn_pending; }; int max98090_mic_detect(struct snd_soc_component *component, |