diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-21 15:45:45 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-21 16:21:10 -0300 |
commit | b16d50a21274437da1d49a6a146dc602242f97c8 (patch) | |
tree | 8f1ce6d2d04d6285cbd70a16ebac54274f93e31d /~emulatorman/linux-libre/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch | |
parent | 8fea3ee0368ff4feb42c07b728efd1e70cf0fea4 (diff) | |
download | abslibre-b16d50a21274437da1d49a6a146dc602242f97c8.tar.gz abslibre-b16d50a21274437da1d49a6a146dc602242f97c8.tar.bz2 abslibre-b16d50a21274437da1d49a6a146dc602242f97c8.zip |
linux-libre: add some changes based on linux-armv7 to adapt for u-Boot usage
* rename vmlinuz-linux-libre to zImage
* rename uImage-linux-libre-{armada-{370-smileplug,370-mirabox,xp-openblocks-ax3-4},dove-{d3plug,cubox}} to uImage
* backup linux-libre-dtb and previous linux-libre armv7h changes to ~emulatorman for GRUB armv7h porting and avoid conflicts with another kernel installed
Diffstat (limited to '~emulatorman/linux-libre/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch')
-rw-r--r-- | ~emulatorman/linux-libre/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/~emulatorman/linux-libre/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch b/~emulatorman/linux-libre/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch new file mode 100644 index 000000000..6ca1f4b74 --- /dev/null +++ b/~emulatorman/linux-libre/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch @@ -0,0 +1,50 @@ +From 493b50d16cd287231bbe11da07f82184d80ceba2 Mon Sep 17 00:00:00 2001 +From: dobatog <dobatog@gmail.com> +Date: Thu, 26 Feb 2015 12:32:27 +0100 +Subject: [PATCH 6/8] 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 cc17e7e..891f3aa 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.4.4 + + |