projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f445d05
)
ARM: OMAP2+: devices: Do not print error when McPDM hwmod lookup fails
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Tue, 11 Jun 2013 08:31:58 +0000
(10:31 +0200)
committer
Tony Lindgren
<tony@atomide.com>
Wed, 12 Jun 2013 14:09:19 +0000
(07:09 -0700)
It means that the SoC does not have McPDM IP.
Reported-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/devices.c
b/arch/arm/mach-omap2/devices.c
index 4269fc1456980458f52aec7c95a5694c82d1dee6..b82538d0d46fc22da941397a6b37ef75f91e2d7b 100644
(file)
--- a/
arch/arm/mach-omap2/devices.c
+++ b/
arch/arm/mach-omap2/devices.c
@@
-374,10
+374,8
@@
static void __init omap_init_mcpdm(void)
struct platform_device *pdev;
oh = omap_hwmod_lookup("mcpdm");
- if (!oh) {
- printk(KERN_ERR "Could not look up mcpdm hw_mod\n");
+ if (!oh)
return;
- }
pdev = omap_device_build("omap-mcpdm", -1, oh, NULL, 0);
WARN(IS_ERR(pdev), "Can't build omap_device for omap-mcpdm.\n");