aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-fb.c
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-12-01 01:26:32 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-12-01 01:26:32 +0000
commit9cd47fc6ed270b4daae8ddce0932d669cd461e8a (patch)
treec5fa28cfd24155069d7d6533faa1601476e9295b /drivers/mfd/glamo/glamo-fb.c
parent9ef786eed3c30516b7bfbf730d78824e30bc2e28 (diff)
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 <andy@openmoko.com>
Diffstat (limited to 'drivers/mfd/glamo/glamo-fb.c')
-rw-r--r--drivers/mfd/glamo/glamo-fb.c8
1 files changed, 5 insertions, 3 deletions
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