diff options
author | Klaus Goger <klaus.goger@theobroma-systems.com> | 2017-12-07 17:28:54 +0100 |
---|---|---|
committer | Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> | 2018-05-09 15:26:53 +0200 |
commit | 45b0e1051e7432c0fad7d1ec80d5a5bdb371ca6c (patch) | |
tree | 5022a0bc43be9e767b4ce6aa1aaaa2e3e6e07e7a | |
parent | 26d0248b3d9f22c0145d1776470f4ae7edca2c28 (diff) |
ASoC: sgtl5000: Use normal VAG ramp to reduce pop noise
The slow downed ramp causes a higher voltage level at the turn off time
generating an audible pop noise.
Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
-rw-r--r-- | sound/soc/codecs/sgtl5000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 08b40460663c..e7cacd61aa49 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -1346,7 +1346,7 @@ static int sgtl5000_probe(struct snd_soc_codec *codec) /* enable small pop, introduce 400ms delay in turning off */ snd_soc_update_bits(codec, SGTL5000_CHIP_REF_CTRL, - SGTL5000_SMALL_POP, 1); + SGTL5000_SMALL_POP, 0); /* disable short cut detector */ snd_soc_write(codec, SGTL5000_CHIP_SHORT_CTRL, 0); |