ASoC: madera: Correct DMIC only input hook ups
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 22 Jan 2020 10:41:43 +0000 (10:41 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 23 Jan 2020 12:10:43 +0000 (12:10 +0000)
Both the data and clock should be connected to both the left and right
inputs for DMIC only inputs, add the missing routes.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200122104143.16725-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs47l85.c
sound/soc/codecs/cs47l90.c

index a693110..33ecff4 100644 (file)
@@ -2005,12 +2005,18 @@ static const struct snd_soc_dapm_route cs47l85_dapm_routes[] = {
        { "IN3R", NULL, "IN3R Mode" },
 
        { "IN4L", NULL, "DMICCLK4" },
+       { "IN4L", NULL, "DMICDAT4" },
+       { "IN4R", NULL, "DMICCLK4" },
        { "IN4R", NULL, "DMICDAT4" },
 
        { "IN5L", NULL, "DMICCLK5" },
+       { "IN5L", NULL, "DMICDAT5" },
+       { "IN5R", NULL, "DMICCLK5" },
        { "IN5R", NULL, "DMICDAT5" },
 
        { "IN6L", NULL, "DMICCLK6" },
+       { "IN6L", NULL, "DMICDAT6" },
+       { "IN6R", NULL, "DMICCLK6" },
        { "IN6R", NULL, "DMICDAT6" },
 
        MADERA_MIXER_ROUTES("OUT1L", "HPOUT1L"),
index 5448e45..16504d2 100644 (file)
@@ -1935,12 +1935,18 @@ static const struct snd_soc_dapm_route cs47l90_dapm_routes[] = {
        { "IN2R", NULL, "IN2R Mode" },
 
        { "IN3L", NULL, "DMICCLK3" },
+       { "IN3L", NULL, "DMICDAT3" },
+       { "IN3R", NULL, "DMICCLK3" },
        { "IN3R", NULL, "DMICDAT3" },
 
        { "IN4L", NULL, "DMICCLK4" },
+       { "IN4L", NULL, "DMICDAT4" },
+       { "IN4R", NULL, "DMICCLK4" },
        { "IN4R", NULL, "DMICDAT4" },
 
        { "IN5L", NULL, "DMICCLK5" },
+       { "IN5L", NULL, "DMICDAT5" },
+       { "IN5R", NULL, "DMICCLK5" },
        { "IN5R", NULL, "DMICDAT5" },
 
        MADERA_MIXER_ROUTES("OUT1L", "HPOUT1L"),