summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-mqs.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@freescale.com>2017-07-05 15:29:13 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:50:14 +0800
commit215c1891b785e8d87d08db8900685dbf80743ef9 (patch)
treeefca58519fe9dcf324653aac27b80a2c326d1def /sound/soc/fsl/imx-mqs.c
parent8f578fd3a1be93258a28776974a4bd7cbceeaa0f (diff)
MLK-13945-2: ASoC: imx_mqs: specify clock name in machine driver
specify clock name in machine driver. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'sound/soc/fsl/imx-mqs.c')
-rw-r--r--sound/soc/fsl/imx-mqs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-mqs.c b/sound/soc/fsl/imx-mqs.c
index a39363590711..af6248d09139 100644
--- a/sound/soc/fsl/imx-mqs.c
+++ b/sound/soc/fsl/imx-mqs.c
@@ -193,7 +193,7 @@ static int imx_mqs_probe(struct platform_device *pdev)
goto fail;
}
- codec_clk = devm_clk_get(&codec_dev->dev, NULL);
+ codec_clk = devm_clk_get(&codec_dev->dev, "mclk");
if (IS_ERR(codec_clk)) {
ret = PTR_ERR(codec_clk);
dev_err(&codec_dev->dev, "failed to get codec clk: %d\n", ret);