Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH 10/11] OMAP2: use debug instead of normal prints in GPIO driver
--Imre
From b45dce9a635a6bcf87f34dace466f166bf466dc9 Mon Sep 17 00:00:00 2001
From: Imre Deak <imre.deak%teleca.com@localhost>
Date: Fri, 25 Apr 2008 16:12:09 +0300
Subject: [PATCH] OMAP2: GPIO: use debug instead of normal prints
---
sys/arch/arm/omap/omap2_gpio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/arch/arm/omap/omap2_gpio.c b/sys/arch/arm/omap/omap2_gpio.c
index 169a930..54de4ce 100644
--- a/sys/arch/arm/omap/omap2_gpio.c
+++ b/sys/arch/arm/omap/omap2_gpio.c
@@ -112,7 +112,7 @@ gpio_pic_unblock_irqs(struct pic_softc *pic, size_t
irq_base, uint32_t irq_mask)
struct gpio_softc * const gpio = PIC_TO_SOFTC(pic);
KASSERT(irq_base == 0);
- aprint_normal_dev(&gpio->gpio_dev, "unblock: mask=%x\n", irq_mask);
+ aprint_debug_dev(&gpio->gpio_dev, "unblock: mask=%x\n", irq_mask);
gpio->gpio_enable_mask |= irq_mask;
/*
* If this a level source, ack it now. If it's still asserted
@@ -130,7 +130,7 @@ gpio_pic_block_irqs(struct pic_softc *pic, size_t irq_base,
uint32_t irq_mask)
struct gpio_softc * const gpio = PIC_TO_SOFTC(pic);
KASSERT(irq_base == 0);
- aprint_normal_dev(&gpio->gpio_dev, "block: mask=%x\n", irq_mask);
+ aprint_debug_dev(&gpio->gpio_dev, "block: mask=%x\n", irq_mask);
gpio->gpio_enable_mask &= ~irq_mask;
GPIO_WRITE(gpio, GPIO_CLEARIRQENABLE1, irq_mask);
/*
@@ -154,7 +154,7 @@ gpio_pic_find_pending_irqs(struct pic_softc *pic)
if (pending == 0)
return 0;
- aprint_normal_dev(&gpio->gpio_dev, "pending=%x\n", pending);
+ aprint_debug_dev(&gpio->gpio_dev, "pending=%x\n", pending);
/*
* Now find all the pending bits and mark them as pending.
*/
--
1.5.4.2
Home |
Main Index |
Thread Index |
Old Index