summaryrefslogtreecommitdiff
path: root/libre-testing/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-21 00:14:18 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-21 00:35:15 -0300
commit65690072f7f4415677c84ea10eb2d5830e22cb41 (patch)
treeb876aee88549747d5e81069f9226dcefb5e86157 /libre-testing/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch
parentd6f56c9253d054faa9e19f9795bf14a423f23877 (diff)
linux-libre-pck-4.4_gnu.pck1-1: updating version
* disable CONFIG_X86_VERBOSE_BOOTUP - FS#47402 -> https://bugs.archlinux.org/task/47402 * enable CONFIG_VGACON_SOFT_SCROLLBACK - FS#47442 -> https://bugs.archlinux.org/task/47442 * unsetting CONFIG_ACPI_REV_OVERRIDE_POSSIBLE - FS#47710 -> https://bugs.archlinux.org/task/47710 * fix sdhci broken on some boards - FS#47778 -> https://bugs.archlinux.org/task/47778 * fix kernel panics on platform modules - FS#47805 -> https://bugs.archlinux.org/task/47805 * fix CVE-2016-0728 - FS#47820 -> https://bugs.archlinux.org/task/47820
Diffstat (limited to 'libre-testing/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch')
-rw-r--r--libre-testing/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/libre-testing/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch b/libre-testing/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch
new file mode 100644
index 000000000..63cd5b038
--- /dev/null
+++ b/libre-testing/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch
@@ -0,0 +1,49 @@
+From 7e8b6c3551ea6a2b4e9201188a5fb79c5970f114 Mon Sep 17 00:00:00 2001
+From: dobatog <dobatog@gmail.com>
+Date: Thu, 26 Feb 2015 12:32:27 +0100
+Subject: [PATCH 6/9] ARM: TLV320AIC23 SoC Audio Codec: Fix errors reported
+ related to input routing signals.
+
+The following patch, based on stable v3.19, corrects the errors that are reported in the boot trace in reference to the Input Signals of the audio codec TLV320AIC23:
+
+tlv320aic23-codec 1-001a: Control not supported for path LLINEIN -> [NULL] -> Line Input
+tlv320aic23-codec 1-001a: ASoC: no dapm match for LLINEIN --> NULL --> Line Input
+tlv320aic23-codec 1-001a: ASoC: Failed to add route LLINEIN -> NULL -> Line Input
+tlv320aic23-codec 1-001a: Control not supported for path RLINEIN -> [NULL] -> Line Input
+tlv320aic23-codec 1-001a: ASoC: no dapm match for RLINEIN --> NULL --> Line Input
+tlv320aic23-codec 1-001a: ASoC: Failed to add route RLINEIN -> NULL -> Line Input
+tlv320aic23-codec 1-001a: Control not supported for path MICIN -> [NULL] -> Mic Input
+tlv320aic23-codec 1-001a: ASoC: no dapm match for MICIN --> NULL --> Mic Input
+tlv320aic23-codec 1-001a: ASoC: Failed to add route MICIN -> NULL -> Mic Input
+
+I am trying to set the sound system in a CM-510 (Compulab - SoM) based board with DT, using Simple-Card-Audio and the TLV320AIC23 audio codec included in the SoM . I faced this problem and thanks to the help of Sebastian Hesselbarth who noticed the possible error located in the structure snd_soc_dapm_route tlv320aic23_intercon[] , now errors are not reported.
+
+Tested on CM-510 (Compulab SoM Board).
+
+Signed-off-by: dobatog <dobatog@gmail.com>
+Tested-by: Max Filippov <jcmvbkbc@gmail.com>
+---
+ sound/soc/codecs/tlv320aic23.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c
+index cd8c02b..95e6b11 100644
+--- a/sound/soc/codecs/tlv320aic23.c
++++ b/sound/soc/codecs/tlv320aic23.c
+@@ -174,10 +174,10 @@ static const struct snd_soc_dapm_route tlv320aic23_intercon[] = {
+ {"ROUT", NULL, "Output Mixer"},
+
+ /* Inputs */
+- {"Line Input", "NULL", "LLINEIN"},
+- {"Line Input", "NULL", "RLINEIN"},
++ {"Line Input", NULL, "LLINEIN"},
++ {"Line Input", NULL, "RLINEIN"},
+
+- {"Mic Input", "NULL", "MICIN"},
++ {"Mic Input", NULL, "MICIN"},
+
+ /* input mux */
+ {"Capture Source", "Line", "Line Input"},
+--
+2.6.4
+