summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.6/0056-ASoC-wm_hubs-Fix-routing-of-input-PGAs-to-line-outpu.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.6/0056-ASoC-wm_hubs-Fix-routing-of-input-PGAs-to-line-outpu.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.6/0056-ASoC-wm_hubs-Fix-routing-of-input-PGAs-to-line-outpu.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.6/0056-ASoC-wm_hubs-Fix-routing-of-input-PGAs-to-line-outpu.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.6/0056-ASoC-wm_hubs-Fix-routing-of-input-PGAs-to-line-outpu.patch
new file mode 100644
index 00000000..98c88335
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.6/0056-ASoC-wm_hubs-Fix-routing-of-input-PGAs-to-line-outpu.patch
@@ -0,0 +1,46 @@
1From f11e42f5205653968c6496e637b1cd524405a9ec Mon Sep 17 00:00:00 2001
2From: Mark Brown <broonie@opensource.wolfsonmicro.com>
3Date: Tue, 31 Jan 2012 11:55:32 +0000
4Subject: [PATCH 56/87] ASoC: wm_hubs: Fix routing of input PGAs to line
5 output mixer
6
7commit ee76744c51ec342df9822b4a85dbbfc3887b6d60 upstream.
8
9IN1L/R is routed to both line output mixers, we don't route IN1 to LINEOUT1
10and IN2 to LINEOUT2.
11
12Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
13Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14---
15 sound/soc/codecs/wm_hubs.c | 8 ++++----
16 1 files changed, 4 insertions(+), 4 deletions(-)
17
18diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
19index 8547191..6ef2283 100644
20--- a/sound/soc/codecs/wm_hubs.c
21+++ b/sound/soc/codecs/wm_hubs.c
22@@ -587,8 +587,8 @@ SOC_DAPM_SINGLE("Left Output Switch", WM8993_LINE_MIXER1, 0, 1, 0),
23 };
24
25 static const struct snd_kcontrol_new line2_mix[] = {
26-SOC_DAPM_SINGLE("IN2R Switch", WM8993_LINE_MIXER2, 2, 1, 0),
27-SOC_DAPM_SINGLE("IN2L Switch", WM8993_LINE_MIXER2, 1, 1, 0),
28+SOC_DAPM_SINGLE("IN1R Switch", WM8993_LINE_MIXER2, 2, 1, 0),
29+SOC_DAPM_SINGLE("IN1L Switch", WM8993_LINE_MIXER2, 1, 1, 0),
30 SOC_DAPM_SINGLE("Output Switch", WM8993_LINE_MIXER2, 0, 1, 0),
31 };
32
33@@ -846,8 +846,8 @@ static const struct snd_soc_dapm_route lineout1_se_routes[] = {
34 };
35
36 static const struct snd_soc_dapm_route lineout2_diff_routes[] = {
37- { "LINEOUT2 Mixer", "IN2L Switch", "IN2L PGA" },
38- { "LINEOUT2 Mixer", "IN2R Switch", "IN2R PGA" },
39+ { "LINEOUT2 Mixer", "IN1L Switch", "IN1L PGA" },
40+ { "LINEOUT2 Mixer", "IN1R Switch", "IN1R PGA" },
41 { "LINEOUT2 Mixer", "Output Switch", "Right Output PGA" },
42
43 { "LINEOUT2N Driver", NULL, "LINEOUT2 Mixer" },
44--
451.7.7.4
46