diff options
author | Marek Vasut <marex@denx.de> | 2013-05-28 20:55:56 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2019-04-26 11:01:30 +0300 |
commit | 1e99fe55f57f33c0a38d00b0e3e83260b922d3c5 (patch) | |
tree | f1d05e20a8e53451b52f89d0fa0d35ed71550ff5 /lib/kstrtox.c | |
parent | 358111678438051309fead63f3f7ea5265cb5873 (diff) |
ASoC: sgtl5000: Fix VAG_POWER enabling/disabling order
commit dd4d2d6dfb49e8916064f2cb07f0ad7b32a82fb7 upstream
The VAG_POWER must be enabled after all other bits in CHIP_ANA_POWER
and disabled before any other bit in CHIP_ANA_POWER. See the SGTL5000
datasheet (Table 31, BIT 7, page 42-43). Failing to follow this order
will result in ugly loud "POP" noise at the end of playback.
To achieve such order, use the _PRE and _POST DAPM widgets to trigger
the power_vag_event, where the event type check has to be fixed
accordingly as well.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'lib/kstrtox.c')
0 files changed, 0 insertions, 0 deletions