From 9cd47fc6ed270b4daae8ddce0932d669cd461e8a Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 1 Dec 2008 01:26:32 +0000 Subject: fix-err-strength-debug-msg.patch Now Qi is changed to default to loglevel 4 where it will show KERN_ERR on LCM, we need to reduce the debugging KERN_ERR traffic so as not to obscure the real things. Signed-off-by: Andy Green --- drivers/mfd/glamo/glamo-fb.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'drivers/mfd/glamo/glamo-fb.c') diff --git a/drivers/mfd/glamo/glamo-fb.c b/drivers/mfd/glamo/glamo-fb.c index b4b121e4c6c..64fe464fa46 100644 --- a/drivers/mfd/glamo/glamo-fb.c +++ b/drivers/mfd/glamo/glamo-fb.c @@ -333,7 +333,8 @@ static void glamofb_update_lcd_controller(struct glamofb_handle *glamo, return; } - printk(KERN_ERR"glamofb_update_lcd_controller spin_lock_irqsave\n"); + dev_dbg(&glamo->mach_info->glamo->pdev->dev, + "glamofb_update_lcd_controller spin_lock_irqsave\n"); spin_lock_irqsave(&glamo->lock_cmd, flags); if (glamofb_cmd_mode(glamo, 1)) @@ -426,7 +427,8 @@ static void glamofb_update_lcd_controller(struct glamofb_handle *glamo, glamofb_cmd_mode(glamo, 0); out_unlock: - printk(KERN_ERR"glamofb_update_lcd_controller spin_unlock_irqrestore\n"); + dev_dbg(&glamo->mach_info->glamo->pdev->dev, + "glamofb_update_lcd_controller spin_unlock_irqrestore\n"); spin_unlock_irqrestore(&glamo->lock_cmd, flags); } @@ -920,7 +922,7 @@ static int __init glamofb_probe(struct platform_device *pdev) glamo_engine_enable(mach_info->glamo, GLAMO_ENGINE_LCD); glamo_engine_reset(mach_info->glamo, GLAMO_ENGINE_LCD); - printk(KERN_ERR"spin_lock_init\n"); + dev_info(&pdev->dev, "spin_lock_init\n"); spin_lock_init(&glamofb->lock_cmd); glamofb_init_regs(glamofb); #ifdef CONFIG_MFD_GLAMO_HWACCEL -- cgit v1.2.3