[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54B4E996.80403@metafoo.de>
Date: Tue, 13 Jan 2015 10:47:02 +0100
From: Lars-Peter Clausen <lars@...afoo.de>
To: Bo Shen <voice.shen@...el.com>, Mark Brown <broonie@...nel.org>
CC: ckeepax@...nsource.wolfsonmicro.com, alsa-devel@...a-project.org,
linux-sound@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] ASoC: wm8904: fix runtime warning
On 01/13/2015 10:34 AM, Bo Shen wrote:
[...]
>
> - { "AIFOUTL", "Left", "ADCL" },
> - { "AIFOUTL", "Right", "ADCR" },
> - { "AIFOUTR", "Left", "ADCL" },
> - { "AIFOUTR", "Right", "ADCR" },
> + { "AIFOUTL Mux", "Left", "ADCL" },
> + { "AIFOUTL Mux", "Right", "ADCR" },
> + { "AIFOUTR Mux", "Left", "ADCL" },
> + { "AIFOUTR Mux", "Right", "ADCR" },
> +
> + { "AIFOUTL", NULL, "AIFOUTL Mux" },
> + { "AIFOUTR", NULL, "AIFOUTR Mux" },
>
This looks ok.
> { "ADCL", NULL, "CLK_DSP" },
> { "ADCL", NULL, "Left Capture PGA" },
> @@ -1089,14 +1092,20 @@ static const struct snd_soc_dapm_route adc_intercon[] = {
> };
>
> static const struct snd_soc_dapm_route dac_intercon[] = {
> - { "DACL", "Right", "AIFINR" },
> - { "DACL", "Left", "AIFINL" },
> + { "DACL", NULL, "AIFINL" },
> + { "DACL", NULL, "AIFINR" },
> { "DACL", NULL, "CLK_DSP" },
>
> - { "DACR", "Right", "AIFINR" },
> - { "DACR", "Left", "AIFINL" },
> + { "DACR", NULL, "AIFINL" },
> + { "DACR", NULL, "AIFINR" },
> { "DACR", NULL, "CLK_DSP" },
>
> + { "DACL Mux", "Left", "DACL" },
> + { "DACL Mux", "Right", "DACR" },
> +
> + { "DACR Mux", "Left", "DACL" },
> + { "DACR Mux", "Right", "DACR" },
> +
But this should probably be
> + { "DACL Mux", "Left", "AIFINL" },
> + { "DACL Mux", "Right", "AIFINR" },
> +
> + { "DACR Mux", "Left", "AIFINL" },
> + { "DACR Mux", "Right", "AIFINR" },
> +
> + { "DACL", NULL, "DACL Mux" },
> + { "DACR", NULL, "DACR Mux" },
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists