Commit 6d931cf8 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Tony Lindgren

ARM: OMAP2+: devices: Do not print error when DMIC hwmod lookup fails

It means that the SoC does not have DMIC IP.
Reported-by: default avatarPaul Walmsley <paul@pwsan.com>
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 5fe0a126
......@@ -393,10 +393,8 @@ static void __init omap_init_dmic(void)
struct platform_device *pdev;
oh = omap_hwmod_lookup("dmic");
if (!oh) {
pr_err("Could not look up dmic hw_mod\n");
if (!oh)
return;
}
pdev = omap_device_build("omap-dmic", -1, oh, NULL, 0);
WARN(IS_ERR(pdev), "Can't build omap_device for omap-dmic.\n");
......
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