projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ae05f5
)
MLK-12786-2: ASoC: fsl_sai: correct the clock source for mclk0
author
Shengjiu Wang
<shengjiu.wang@freescale.com>
Thu, 12 May 2016 09:54:08 +0000
(17:54 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:51:57 +0000
(14:51 -0500)
mclk0 is assigned through the device tree.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
sound/soc/fsl/fsl_sai.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl_sai.c
b/sound/soc/fsl/fsl_sai.c
index
2fc0caa
..
a321441
100644
(file)
--- a/
sound/soc/fsl/fsl_sai.c
+++ b/
sound/soc/fsl/fsl_sai.c
@@
-883,8
+883,7
@@
static int fsl_sai_probe(struct platform_device *pdev)
sai->bus_clk = NULL;
}
- sai->mclk_clk[0] = sai->bus_clk;
- for (i = 1; i < FSL_SAI_MCLK_MAX; i++) {
+ for (i = 0; i < FSL_SAI_MCLK_MAX; i++) {
sprintf(tmp, "mclk%d", i);
sai->mclk_clk[i] = devm_clk_get(&pdev->dev, tmp);
if (IS_ERR(sai->mclk_clk[i])) {