<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 7, 2022 at 8:31 PM Pieterjan Camerlynck <<a href="mailto:pieterjan.camerlynck@gmail.com">pieterjan.camerlynck@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In commit <c3ecef21c3f26> ("ASoC: fsl_sai: add sai master mode support")<br>
the loop was changed to start iterating from 1 instead of 0. The error<br>
message however was not updated, reporting the wrong clock to the user.<br>
<br>
Signed-off-by: Pieterjan Camerlynck <<a href="mailto:pieterjan.camerlynck@gmail.com" target="_blank">pieterjan.camerlynck@gmail.com</a>><br></blockquote><div><br></div><div>Acked-by: Shengjiu Wang <<a href="mailto:shengjiu.wang@gmail.com">shengjiu.wang@gmail.com</a>></div><div><br></div><div>Best Regards</div><div>Wang Shengjiu </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
sound/soc/fsl/fsl_sai.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c<br>
index ffc24afb5a7a..f0602077b385 100644<br>
--- a/sound/soc/fsl/fsl_sai.c<br>
+++ b/sound/soc/fsl/fsl_sai.c<br>
@@ -1054,7 +1054,7 @@ static int fsl_sai_probe(struct platform_device *pdev)<br>
sai->mclk_clk[i] = devm_clk_get(&pdev->dev, tmp);<br>
if (IS_ERR(sai->mclk_clk[i])) {<br>
dev_err(&pdev->dev, "failed to get mclk%d clock: %ld\n",<br>
- i + 1, PTR_ERR(sai->mclk_clk[i]));<br>
+ i, PTR_ERR(sai->mclk_clk[i]));<br>
sai->mclk_clk[i] = NULL;<br>
}<br>
}<br>
-- <br>
2.25.1<br>
<br>
</blockquote></div></div>