summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.24/1146-quench-glamofb-err-lock-and-mmc-debug.patch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1146-quench-glamofb-err-lock-and-mmc-debug.patch.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1146-quench-glamofb-err-lock-and-mmc-debug.patch.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1146-quench-glamofb-err-lock-and-mmc-debug.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1146-quench-glamofb-err-lock-and-mmc-debug.patch.patch
new file mode 100644
index 000000000..8f20f9100
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1146-quench-glamofb-err-lock-and-mmc-debug.patch.patch
@@ -0,0 +1,66 @@
+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
+