Commit 82e7c8b9 authored by Andreas Kemnade's avatar Andreas Kemnade Committed by Mark Brown

ASoC: ti: omap-mcbsp: Ignore errors for getting fck_src

Commit 349355ce ("ARM: OMAP2+: Drop legacy platform data for omap4 mcbsp")
dropped prcm_fck for omap4, so the clk_src might not be available making the
clk_get(src) fail. In such cases, rely on the devicetree to assign
the correct parent.
Signed-off-by: default avatarAndreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20230705190324.355282-2-andreas@kemnade.infoSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 30019d22
......@@ -70,8 +70,8 @@ static int omap2_mcbsp_set_clks_src(struct omap_mcbsp *mcbsp, u8 fck_src_id)
fck_src = clk_get(mcbsp->dev, src);
if (IS_ERR(fck_src)) {
dev_err(mcbsp->dev, "CLKS: could not clk_get() %s\n", src);
return -EINVAL;
dev_info(mcbsp->dev, "CLKS: could not clk_get() %s\n", src);
return 0;
}
pm_runtime_put_sync(mcbsp->dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment