ASoC: wm5102: Add inputs for noise and mic mixers
authorMark Brown <broonie@linaro.org>
Mon, 12 Aug 2013 22:58:58 +0000 (23:58 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 19 Aug 2013 10:12:08 +0000 (11:12 +0100)
The noise and mic mixer inputs were not connected, do so.

Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm5102.c

index f38c52d..8bbddc1 100644 (file)
@@ -1423,9 +1423,6 @@ static const struct snd_soc_dapm_route wm5102_dapm_routes[] = {
        { "Tone Generator 1", NULL, "TONE" },
        { "Tone Generator 2", NULL, "TONE" },
 
-       { "Mic Mute Mixer", NULL, "Noise Mixer" },
-       { "Mic Mute Mixer", NULL, "Mic Mixer" },
-
        { "AIF1 Capture", NULL, "AIF1TX1" },
        { "AIF1 Capture", NULL, "AIF1TX2" },
        { "AIF1 Capture", NULL, "AIF1TX3" },
@@ -1552,6 +1549,9 @@ static const struct snd_soc_dapm_route wm5102_dapm_routes[] = {
        ARIZONA_MIXER_ROUTES("LHPF3", "LHPF3"),
        ARIZONA_MIXER_ROUTES("LHPF4", "LHPF4"),
 
+       ARIZONA_MIXER_ROUTES("Mic Mute Mixer", "Noise"),
+       ARIZONA_MIXER_ROUTES("Mic Mute Mixer", "Mic"),
+
        ARIZONA_MUX_ROUTES("ASRC1L", "ASRC1L"),
        ARIZONA_MUX_ROUTES("ASRC1R", "ASRC1R"),
        ARIZONA_MUX_ROUTES("ASRC2L", "ASRC2L"),