aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-31 06:55:32 -0500
committerLuis Henriques <luis.henriques@canonical.com>2012-03-08 07:23:29 -0500
commit95628c345eb843abee6f298244b25891ca62b917 (patch)
treea0c73ed8d3ae4852c096ea5226712f41a0f52b09 /sound/soc/codecs
parent699b5f743735cfb0ef982c0ef4f9fca186b3f3c1 (diff)
ASoC: wm_hubs: Fix routing of input PGAs to line output mixer
BugLink: http://bugs.launchpad.net/bugs/931719 commit ee76744c51ec342df9822b4a85dbbfc3887b6d60 upstream. IN1L/R is routed to both line output mixers, we don't route IN1 to LINEOUT1 and IN2 to LINEOUT2. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/wm_hubs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
index b85539482ec..f2e07b50b90 100644
--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -562,8 +562,8 @@ SOC_DAPM_SINGLE("Left Output Switch", WM8993_LINE_MIXER1, 0, 1, 0),
562}; 562};
563 563
564static const struct snd_kcontrol_new line2_mix[] = { 564static const struct snd_kcontrol_new line2_mix[] = {
565SOC_DAPM_SINGLE("IN2R Switch", WM8993_LINE_MIXER2, 2, 1, 0), 565SOC_DAPM_SINGLE("IN1R Switch", WM8993_LINE_MIXER2, 2, 1, 0),
566SOC_DAPM_SINGLE("IN2L Switch", WM8993_LINE_MIXER2, 1, 1, 0), 566SOC_DAPM_SINGLE("IN1L Switch", WM8993_LINE_MIXER2, 1, 1, 0),
567SOC_DAPM_SINGLE("Output Switch", WM8993_LINE_MIXER2, 0, 1, 0), 567SOC_DAPM_SINGLE("Output Switch", WM8993_LINE_MIXER2, 0, 1, 0),
568}; 568};
569 569
@@ -808,8 +808,8 @@ static const struct snd_soc_dapm_route lineout1_se_routes[] = {
808}; 808};
809 809
810static const struct snd_soc_dapm_route lineout2_diff_routes[] = { 810static const struct snd_soc_dapm_route lineout2_diff_routes[] = {
811 { "LINEOUT2 Mixer", "IN2L Switch", "IN2L PGA" }, 811 { "LINEOUT2 Mixer", "IN1L Switch", "IN1L PGA" },
812 { "LINEOUT2 Mixer", "IN2R Switch", "IN2R PGA" }, 812 { "LINEOUT2 Mixer", "IN1R Switch", "IN1R PGA" },
813 { "LINEOUT2 Mixer", "Output Switch", "Right Output PGA" }, 813 { "LINEOUT2 Mixer", "Output Switch", "Right Output PGA" },
814 814
815 { "LINEOUT2N Driver", NULL, "LINEOUT2 Mixer" }, 815 { "LINEOUT2N Driver", NULL, "LINEOUT2 Mixer" },