diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2013-07-31 16:44:29 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2019-04-26 11:01:30 +0300 |
commit | 79c4b2cd2d7301027c400d0e7d844e0e8c81f899 (patch) | |
tree | a9f5ddac3b9a500fed6c54c1300854b3913eeef5 /sound/soc/codecs/sgtl5000.h | |
parent | 1e99fe55f57f33c0a38d00b0e3e83260b922d3c5 (diff) |
ASoC: sgtl5000: prevent playback to be muted when terminating concurrent capture
commit f091f3f07328f75d20a2a5970d1f8b58d95fc990 upstream
When a sound capture/playback is terminated while a playback/capture
is running, power_vag_event() will clear SGTL5000_CHIP_ANA_POWER in
the SND_SOC_DAPM_PRE_PMD event, thus muting the respective other
channel.
Don't clear SGTL5000_CHIP_ANA_POWER when both DAC and ADC are active
to prevent this.
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/sgtl5000.h')
0 files changed, 0 insertions, 0 deletions