mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 09:01:34 +00:00
ASoC: ti: omap-mcbsp: Ignore errors for getting fck_src
Commit 349355ce3a
("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>
This commit is contained in:
parent
30019d220c
commit
82e7c8b93a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user