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-01-12 18:59:59 +0100 |
commit | ea0c77c201a0cf167401ef2a6dba411cbbbc55f3 (patch) | |
tree | 4f79f6d28e864d444dcedde3d522c50df5fce7a8 | |
parent | 9084f0d7a548d8ea38dd515c586be50654604dba (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); |