From: Phil Vandry <vandry@TZoNE.ORG>
Date: Mon, 21 Sep 2009 15:36:08 +0000 (-0400)
Subject: ASoC: wm8753: fix mapping when MONOMIX is set to Stereo
X-Git-Tag: firefly_0821_release~12446^2
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=877ae70763fa0b19ffbe25e7e119fc96f52fbbd3;p=firefly-linux-kernel-4.4.55.git

ASoC: wm8753: fix mapping when MONOMIX is set to Stereo

When MONOMIX is set to Stereo, Left PGA was not powered on but should be.
Add a mapping from Capture Left Mux to Capture Left Mixer to fix the issue.

Signed-off-by: Phil Vandry <vandry@TZoNE.ORG>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---

diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index d80d414cfbbd..5ad677ce80da 100644
--- a/sound/soc/codecs/wm8753.c
+++ b/sound/soc/codecs/wm8753.c
@@ -595,6 +595,7 @@ static const struct snd_soc_dapm_route audio_map[] = {
 
 	/* Mono Capture mixer-mux */
 	{"Capture Right Mixer", "Stereo", "Capture Right Mux"},
+	{"Capture Left Mixer", "Stereo", "Capture Left Mux"},
 	{"Capture Left Mixer", "Analogue Mix Left", "Capture Left Mux"},
 	{"Capture Left Mixer", "Analogue Mix Left", "Capture Right Mux"},
 	{"Capture Right Mixer", "Analogue Mix Right", "Capture Left Mux"},