ASoC: cs47l90: Fix error in clock hookups for ISRC3/4
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Mon, 5 Jun 2017 14:55:48 +0000 (15:55 +0100)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:27 +0000 (20:22 +0300)
The widgets were linked to the ISRC1 clock domain instead
of the correct ISRC3/4 domains.

Change-Id: I9b446afbc07719021e325db055aa516c2a34155f
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
sound/soc/codecs/cs47l90.c

index 04441dd38bf6c64d2a0f9b721bd5db8b11643933..1614cb24f05589905db540ca44c9b345fa1555df 100644 (file)
@@ -836,6 +836,22 @@ SND_SOC_DAPM_SUPPLY("ISRC2INTCLK", SND_SOC_NOPM,
                    MADERA_DOM_GRP_ISRC2_INT, 0,
                    madera_domain_clk_ev,
                    SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
+SND_SOC_DAPM_SUPPLY("ISRC3DECCLK", SND_SOC_NOPM,
+                   MADERA_DOM_GRP_ISRC3_DEC, 0,
+                   madera_domain_clk_ev,
+                   SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
+SND_SOC_DAPM_SUPPLY("ISRC3INTCLK", SND_SOC_NOPM,
+                   MADERA_DOM_GRP_ISRC3_INT, 0,
+                   madera_domain_clk_ev,
+                   SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
+SND_SOC_DAPM_SUPPLY("ISRC4DECCLK", SND_SOC_NOPM,
+                   MADERA_DOM_GRP_ISRC4_DEC, 0,
+                   madera_domain_clk_ev,
+                   SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
+SND_SOC_DAPM_SUPPLY("ISRC4INTCLK", SND_SOC_NOPM,
+                   MADERA_DOM_GRP_ISRC4_INT, 0,
+                   madera_domain_clk_ev,
+                   SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
 SND_SOC_DAPM_SUPPLY("OUTCLK", SND_SOC_NOPM,
                    MADERA_DOM_GRP_OUT, 0,
                    madera_domain_clk_ev,
@@ -1705,14 +1721,14 @@ static const struct snd_soc_dapm_route cs47l90_dapm_routes[] = {
        { "ISRC2INT2", NULL, "ISRC2INTCLK" },
        { "ISRC2INT3", NULL, "ISRC2INTCLK" },
        { "ISRC2INT4", NULL, "ISRC2INTCLK" },
-       { "ISRC3DEC1", NULL, "ISRC1DECCLK" },
-       { "ISRC3DEC2", NULL, "ISRC1DECCLK" },
-       { "ISRC3INT1", NULL, "ISRC1INTCLK" },
-       { "ISRC3INT2", NULL, "ISRC1INTCLK" },
-       { "ISRC4DEC1", NULL, "ISRC1DECCLK" },
-       { "ISRC4DEC2", NULL, "ISRC1DECCLK" },
-       { "ISRC4INT1", NULL, "ISRC1INTCLK" },
-       { "ISRC4INT2", NULL, "ISRC1INTCLK" },
+       { "ISRC3DEC1", NULL, "ISRC3DECCLK" },
+       { "ISRC3DEC2", NULL, "ISRC3DECCLK" },
+       { "ISRC3INT1", NULL, "ISRC3INTCLK" },
+       { "ISRC3INT2", NULL, "ISRC3INTCLK" },
+       { "ISRC4DEC1", NULL, "ISRC4DECCLK" },
+       { "ISRC4DEC2", NULL, "ISRC4DECCLK" },
+       { "ISRC4INT1", NULL, "ISRC4INTCLK" },
+       { "ISRC4INT2", NULL, "ISRC4INTCLK" },
        { "ASRC1IN1L", NULL, "ASRC1R1CLK" },
        { "ASRC1IN1R", NULL, "ASRC1R1CLK" },
        { "ASRC1IN2L", NULL, "ASRC1R2CLK" },