ASoC: AMD: Update DA7219 DAI clock name to align with codec updates
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Tue, 19 Mar 2019 17:49:32 +0000 (17:49 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 21 Mar 2019 14:50:30 +0000 (14:50 +0000)
As the DAI clocks for DA7219 have now been split into BCLK and WCLK,
the clock lookup name needs to be udpated here to select BCLK to
achieve the same functionality as before with regards to DAI clock
gating.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-da7219-max98357a.c

index a5daad9..f37a588 100644 (file)
@@ -72,7 +72,7 @@ static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd)
                return ret;
        }
 
-       da7219_dai_clk = clk_get(component->dev, "da7219-dai-clks");
+       da7219_dai_clk = clk_get(component->dev, "da7219-dai-bclk");
 
        ret = snd_soc_card_jack_new(card, "Headset Jack",
                                SND_JACK_HEADSET | SND_JACK_LINEOUT |