]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sgtl5000: Fix SMALL_POP bit definition
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 14 Nov 2014 04:14:47 +0000 (02:14 -0200)
committerMark Brown <broonie@kernel.org>
Fri, 14 Nov 2014 10:35:45 +0000 (10:35 +0000)
commitaa42ca0d25eba4a1886765a54b4cef5ffdb6d2b8
treeb7906f0d83ab22ff5c103a7e87553204858d2cc9
parentcf707b7b48540e4559958bc7587fb506b5c80cc1
ASoC: sgtl5000: Fix SMALL_POP bit definition

On a mx28evk with a sgtl5000 codec we notice a loud 'click' sound  to happen
5 seconds after the end of a playback.

The SMALL_POP bit should fix this, but its definition is incorrect:
according to the sgtl5000 manual it is bit 0 of CHIP_REF_CTRL register, not
bit 1.

Fix the definition accordingly and enable the bit as intended per the code
comment.

After applying this change, no loud 'click' sound is heard after playback

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/sgtl5000.c
sound/soc/codecs/sgtl5000.h