ASoC: cs47l15: Fix EPOUT->HPOUT1 Mono Mux routing
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 25 Sep 2020 09:18:29 +0000 (10:18 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 25 Sep 2020 17:18:15 +0000 (18:18 +0100)
EPOUT is always mono so should have a permanent routing through the
HPOUT1 Mono Mux.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200925091830.7675-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs47l15.c

index a591e74..254f9d9 100644 (file)
@@ -1089,6 +1089,7 @@ static const struct snd_soc_dapm_route cs47l15_dapm_routes[] = {
        { "HPOUT1 Demux", NULL, "OUT1R" },
 
        { "OUT1R", NULL, "HPOUT1 Mono Mux" },
+       { "HPOUT1 Mono Mux", "EPOUT", "OUT1L" },
 
        { "HPOUTL", "HPOUT", "HPOUT1 Demux" },
        { "HPOUTR", "HPOUT", "HPOUT1 Demux" },
@@ -1268,7 +1269,6 @@ static irqreturn_t cs47l15_adsp2_irq(int irq, void *data)
 
 static const struct snd_soc_dapm_route cs47l15_mono_routes[] = {
        { "HPOUT1 Mono Mux", "HPOUT", "OUT1L" },
-       { "HPOUT1 Mono Mux", "EPOUT", "OUT1L" },
 };
 
 static int cs47l15_component_probe(struct snd_soc_component *component)