[ar71xx] remove duplicated includes
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1146-quench-glamofb-err-lock-and-mmc-debug.patch.patch
1 From 782e7e4ec713c4f3bde792b5dd26b720f1383aa3 Mon Sep 17 00:00:00 2001
2 From: Andy Green <andy@openmoko.com>
3 Date: Tue, 13 May 2008 18:53:39 +0100
4 Subject: [PATCH] quench-glamofb-err-lock-and-mmc-debug.patch
5
6 Remove debugging noise
7
8 Signed-off-by: Andy Green <andy@openmoko.com>
9 ---
10 drivers/mfd/glamo/glamo-fb.c | 3 ---
11 drivers/mfd/glamo/glamo-mci.c | 4 ++--
12 2 files changed, 2 insertions(+), 5 deletions(-)
13
14 diff --git a/drivers/mfd/glamo/glamo-fb.c b/drivers/mfd/glamo/glamo-fb.c
15 index edc6d9c..e5410f9 100644
16 --- a/drivers/mfd/glamo/glamo-fb.c
17 +++ b/drivers/mfd/glamo/glamo-fb.c
18 @@ -319,7 +319,6 @@ static void glamofb_update_lcd_controller(struct glamofb_handle *glamo,
19 if (!glamo || !var)
20 return;
21
22 - printk(KERN_ERR"glamofb_update_lcd_controller spin_lock_irqsave\n");
23 spin_lock_irqsave(&glamo->lock_cmd, flags);
24
25 if (glamofb_cmd_mode(glamo, 1))
26 @@ -430,7 +429,6 @@ static void glamofb_update_lcd_controller(struct glamofb_handle *glamo,
27
28 /* GLAMO_LOG("leave:\n"); */
29 out_unlock:
30 - printk(KERN_ERR"glamofb_update_lcd_controller spin_unlock_irqrestore\n");
31 spin_unlock_irqrestore(&glamo->lock_cmd, flags);
32 }
33
34 @@ -786,7 +784,6 @@ static int __init glamofb_probe(struct platform_device *pdev)
35 glamo_engine_enable(mach_info->glamo, GLAMO_ENGINE_LCD);
36 glamo_engine_reset(mach_info->glamo, GLAMO_ENGINE_LCD);
37
38 - printk(KERN_ERR"spin_lock_init\n");
39 spin_lock_init(&glamofb->lock_cmd);
40 glamofb_init_regs(glamofb);
41
42 diff --git a/drivers/mfd/glamo/glamo-mci.c b/drivers/mfd/glamo/glamo-mci.c
43 index 05bbfc4..7869325 100644
44 --- a/drivers/mfd/glamo/glamo-mci.c
45 +++ b/drivers/mfd/glamo/glamo-mci.c
46 @@ -195,7 +195,7 @@ static void glamo_mci_irq(unsigned int irq, struct irq_desc *desc)
47 GLAMO_STAT1_MMC_BRERR))
48 cmd->error = -EILSEQ;
49 if (cmd->error) {
50 - dev_err(&host->pdev->dev, "Error after cmd: 0x%x\n", status);
51 + dev_info(&host->pdev->dev, "Error after cmd: 0x%x\n", status);
52 goto done;
53 }
54
55 @@ -467,7 +467,7 @@ static void glamo_mci_send_request(struct mmc_host *mmc)
56 return;
57
58 if (cmd->error) {
59 - dev_err(&host->pdev->dev, "Error after cmd: 0x%x\n", status);
60 + dev_info(&host->pdev->dev, "Error after cmd: 0x%x\n", status);
61 goto done;
62 }
63 /*
64 --
65 1.5.6.5
66
This page took 0.051999 seconds and 5 git commands to generate.