614683faf8
SVN-Revision: 13613
66 lines
2.2 KiB
Diff
66 lines
2.2 KiB
Diff
From 782e7e4ec713c4f3bde792b5dd26b720f1383aa3 Mon Sep 17 00:00:00 2001
|
|
From: Andy Green <andy@openmoko.com>
|
|
Date: Tue, 13 May 2008 18:53:39 +0100
|
|
Subject: [PATCH] quench-glamofb-err-lock-and-mmc-debug.patch
|
|
|
|
Remove debugging noise
|
|
|
|
Signed-off-by: Andy Green <andy@openmoko.com>
|
|
---
|
|
drivers/mfd/glamo/glamo-fb.c | 3 ---
|
|
drivers/mfd/glamo/glamo-mci.c | 4 ++--
|
|
2 files changed, 2 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/drivers/mfd/glamo/glamo-fb.c b/drivers/mfd/glamo/glamo-fb.c
|
|
index edc6d9c..e5410f9 100644
|
|
--- a/drivers/mfd/glamo/glamo-fb.c
|
|
+++ b/drivers/mfd/glamo/glamo-fb.c
|
|
@@ -319,7 +319,6 @@ static void glamofb_update_lcd_controller(struct glamofb_handle *glamo,
|
|
if (!glamo || !var)
|
|
return;
|
|
|
|
- printk(KERN_ERR"glamofb_update_lcd_controller spin_lock_irqsave\n");
|
|
spin_lock_irqsave(&glamo->lock_cmd, flags);
|
|
|
|
if (glamofb_cmd_mode(glamo, 1))
|
|
@@ -430,7 +429,6 @@ static void glamofb_update_lcd_controller(struct glamofb_handle *glamo,
|
|
|
|
/* GLAMO_LOG("leave:\n"); */
|
|
out_unlock:
|
|
- printk(KERN_ERR"glamofb_update_lcd_controller spin_unlock_irqrestore\n");
|
|
spin_unlock_irqrestore(&glamo->lock_cmd, flags);
|
|
}
|
|
|
|
@@ -786,7 +784,6 @@ 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");
|
|
spin_lock_init(&glamofb->lock_cmd);
|
|
glamofb_init_regs(glamofb);
|
|
|
|
diff --git a/drivers/mfd/glamo/glamo-mci.c b/drivers/mfd/glamo/glamo-mci.c
|
|
index 05bbfc4..7869325 100644
|
|
--- a/drivers/mfd/glamo/glamo-mci.c
|
|
+++ b/drivers/mfd/glamo/glamo-mci.c
|
|
@@ -195,7 +195,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;
|
|
}
|
|
|
|
@@ -467,7 +467,7 @@ static void glamo_mci_send_request(struct mmc_host *mmc)
|
|
return;
|
|
|
|
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;
|
|
}
|
|
/*
|
|
--
|
|
1.5.6.5
|
|
|