From 2a0efaa3c1f4d3efc31839c31585c6d5ae6425bb Mon Sep 17 00:00:00 2001 From: Richard Fitzgerald Date: Mon, 5 Jun 2017 15:55:48 +0100 Subject: [PATCH] ASoC: cs47l90: Fix error in clock hookups for ISRC3/4 The widgets were linked to the ISRC1 clock domain instead of the correct ISRC3/4 domains. Change-Id: I9b446afbc07719021e325db055aa516c2a34155f Signed-off-by: Richard Fitzgerald --- sound/soc/codecs/cs47l90.c | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/sound/soc/codecs/cs47l90.c b/sound/soc/codecs/cs47l90.c index 04441dd38bf6..1614cb24f055 100644 --- a/sound/soc/codecs/cs47l90.c +++ b/sound/soc/codecs/cs47l90.c @@ -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" }, -- 2.20.1