[alsa-devel] [PATCH] ASoC: TWL4030: Add APLL supply for the capture path

Peter Ujfalusi peter.ujfalusi at nokia.com
Thu Oct 29 12:05:52 CET 2009


Capture path also need the APLL enabled, adding DAPM_SUPPLY
for the Virtual ADCs.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi at nokia.com>
---

I have forgot to run git add, so the capture path DAPM_SUPPLY was missing from
the previous series.

This also applies on top of Mark's tree, for-2.6.33-pending branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git

and depends on the "ASoC: TWL4030: Change codec_muted to apll_enabled" patch.

Sorry about this.


 sound/soc/codecs/twl4030.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index 277e99c..f9121ef 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -1449,6 +1449,11 @@ static const struct snd_soc_dapm_route intercon[] = {
 	{"ADC Virtual Left2", NULL, "TX2 Capture Route"},
 	{"ADC Virtual Right2", NULL, "TX2 Capture Route"},

+	{"ADC Virtual Left1", NULL, "APLL Enable"},
+	{"ADC Virtual Right1", NULL, "APLL Enable"},
+	{"ADC Virtual Left2", NULL, "APLL Enable"},
+	{"ADC Virtual Right2", NULL, "APLL Enable"},
+
 	/* Analog bypass routes */
 	{"Right1 Analog Loopback", "Switch", "Analog Right"},
 	{"Left1 Analog Loopback", "Switch", "Analog Left"},
--
1.6.5.1



More information about the Alsa-devel mailing list