Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

Commit 349355ce3a05 ("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: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20230705190324.355282-2-andreas@kemnade.info
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Andreas Kemnade and committed by
Mark Brown
82e7c8b9 30019d22

+2 -2
+2 -2
sound/soc/ti/omap-mcbsp.c
··· 70 70 71 71 fck_src = clk_get(mcbsp->dev, src); 72 72 if (IS_ERR(fck_src)) { 73 - dev_err(mcbsp->dev, "CLKS: could not clk_get() %s\n", src); 74 - return -EINVAL; 73 + dev_info(mcbsp->dev, "CLKS: could not clk_get() %s\n", src); 74 + return 0; 75 75 } 76 76 77 77 pm_runtime_put_sync(mcbsp->dev);