diff options
author | Shengjiu Wang <shengjiu.wang@freescale.com> | 2017-07-05 15:29:13 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:50:14 +0800 |
commit | 215c1891b785e8d87d08db8900685dbf80743ef9 (patch) | |
tree | efca58519fe9dcf324653aac27b80a2c326d1def | |
parent | 8f578fd3a1be93258a28776974a4bd7cbceeaa0f (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>
-rw-r--r-- | Documentation/devicetree/bindings/sound/imx-audio-mqs.txt | 2 | ||||
-rw-r--r-- | sound/soc/fsl/imx-mqs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/sound/imx-audio-mqs.txt b/Documentation/devicetree/bindings/sound/imx-audio-mqs.txt index 1d42bd03d5c7..c0195c202894 100644 --- a/Documentation/devicetree/bindings/sound/imx-audio-mqs.txt +++ b/Documentation/devicetree/bindings/sound/imx-audio-mqs.txt @@ -1,7 +1,7 @@ Freescale i.MX audio complex with mqs codec Required properties: -- compatible : "fsl,imx-audio-mqs" +- compatible : "fsl,imx-audio-mqs", "fsl,imx8qm-lpddr4-arm2-mqs". - model : The user-visible name of this sound complex - cpu-dai : The phandle of the i.MX sai controller - audio-codec : The phandle of the mqs audio codec 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); |