2012-10-16 15:30:54

by Sebastien Guiriec

[permalink] [raw]
Subject: [PATCH] OMAP4: devices: fixup OMAP4 DMIC platform device error message

Correct DMIC hwmod lockup error message and replace printk() by
pr_err().

Signed-off-by: Sebastien Guiriec <[email protected]>
---
arch/arm/mach-omap2/devices.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index c8c2117..cba60e0 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -341,7 +341,7 @@ static void __init omap_init_dmic(void)

oh = omap_hwmod_lookup("dmic");
if (!oh) {
- printk(KERN_ERR "Could not look up mcpdm hw_mod\n");
+ pr_err("Could not look up dmic hw_mod\n");
return;
}

--
1.7.10.4


2012-10-16 17:58:24

by Tony Lindgren

[permalink] [raw]
Subject: Re: [PATCH] OMAP4: devices: fixup OMAP4 DMIC platform device error message

* Sebastien Guiriec <[email protected]> [121016 08:32]:
> Correct DMIC hwmod lockup error message and replace printk() by
> pr_err().

Thanks applying into omap-for-v3.7-rc1/fixes-part2.

Regards,

Tony