From: Lothar Waßmann Date: Wed, 31 Jul 2013 14:44:29 +0000 (+0200) Subject: ASoC: sgtl5000: prevent playback to be muted when terminating concurrent capture X-Git-Tag: v3.11-rc6~9^2~1^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f091f3f07328f75d20a2a5970d1f8b58d95fc990;p=pandora-kernel.git ASoC: sgtl5000: prevent playback to be muted when terminating concurrent capture 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 Reviewed-by: Fabio Estevam Signed-off-by: Mark Brown --- Reading git-diff-tree failed