[PATCH] ASoC: intel: cht_bsw_max98090_ti: Use pmc_plt_clk_0 instead of pmc_plt_clk_3

From: Hans de Goede
Date: Tue Oct 30 2018 - 06:55:28 EST


Testing has shown that CHT boards with a max98090 codec use pmc_plt_clk_0
instead of pmc_plt_clk_3, adjust the code to match this.

Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
---
sound/soc/intel/boards/cht_bsw_max98090_ti.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/intel/boards/cht_bsw_max98090_ti.c b/sound/soc/intel/boards/cht_bsw_max98090_ti.c
index db6976f4ddaa..ce44ebee8d88 100644
--- a/sound/soc/intel/boards/cht_bsw_max98090_ti.c
+++ b/sound/soc/intel/boards/cht_bsw_max98090_ti.c
@@ -411,10 +411,10 @@ static int snd_cht_mc_probe(struct platform_device *pdev)
snd_soc_card_cht.dev = &pdev->dev;
snd_soc_card_set_drvdata(&snd_soc_card_cht, drv);

- drv->mclk = devm_clk_get(&pdev->dev, "pmc_plt_clk_3");
+ drv->mclk = devm_clk_get(&pdev->dev, "pmc_plt_clk_0");
if (IS_ERR(drv->mclk)) {
dev_err(&pdev->dev,
- "Failed to get MCLK from pmc_plt_clk_3: %ld\n",
+ "Failed to get MCLK from pmc_plt_clk_0: %ld\n",
PTR_ERR(drv->mclk));
return PTR_ERR(drv->mclk);
}
--
2.19.0


--------------D8E333DA52011A9414FDF4E5--