aboutsummaryrefslogtreecommitdiff
path: root/drivers
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
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')
-rw-r--r--drivers/mfd/glamo/glamo-fb.c8
-rw-r--r--drivers/mfd/glamo/glamo-mci.c6
-rw-r--r--drivers/video/console/fbcon.c2
3 files changed, 9 insertions, 7 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
diff --git a/drivers/mfd/glamo/glamo-mci.c b/drivers/mfd/glamo/glamo-mci.c
index 5079796ba28..e5bef30463b 100644
--- a/drivers/mfd/glamo/glamo-mci.c
+++ b/drivers/mfd/glamo/glamo-mci.c
@@ -368,7 +368,7 @@ static void glamo_mci_irq(unsigned int irq, struct irq_desc *desc)
GLAMO_STAT1_MMC_BRERR))
cmd->error = -EILSEQ;
if (cmd->error) {
- dev_err(&host->pdev->dev, "Error after cmd: 0x%x\n", status);
+ dev_info(&host->pdev->dev, "Error after cmd: 0x%x\n", status);
goto done;
}
@@ -655,7 +655,7 @@ static void glamo_mci_send_request(struct mmc_host *mmc)
goto bail;
if (cmd->error) {
- dev_err(&host->pdev->dev, "Error after cmd: 0x%x\n", status);
+ dev_info(&host->pdev->dev, "Error after cmd: 0x%x\n", status);
goto done;
}
/*
@@ -743,7 +743,7 @@ static void glamo_mci_reset(struct glamo_mci_host *host)
"suspended\n");
return;
}
- dev_err(&host->pdev->dev, "******* glamo_mci_reset\n");
+ dev_dbg(&host->pdev->dev, "******* glamo_mci_reset\n");
/* reset MMC controller */
writew(GLAMO_CLOCK_MMC_RESET | GLAMO_CLOCK_MMC_DG_TCLK |
GLAMO_CLOCK_MMC_EN_TCLK | GLAMO_CLOCK_MMC_DG_M9CLK |
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index 285acaeafe8..e45dc2ce116 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -3238,7 +3238,7 @@ static int fbcon_event_notify(struct notifier_block *self,
struct fb_blit_caps *caps;
int ret = 0;
- printk(KERN_ERR "fbcon_event_notify action=%ld, data=%p\n", action, data);
+ printk(KERN_INFO "fbcon_event_notify action=%ld, data=%p\n", action, data);
event = data;
info = event->info;