Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH 2/8] OMAP2: GPIO: fix typo / use debug instead of normal prints



---
 sys/arch/arm/omap/omap2_icu.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys/arch/arm/omap/omap2_icu.c b/sys/arch/arm/omap/omap2_icu.c
index 65c0275..66f5106 100644
--- a/sys/arch/arm/omap/omap2_icu.c
+++ b/sys/arch/arm/omap/omap2_icu.c
@@ -99,8 +99,8 @@ omap2icu_unblock_irqs(struct pic_softc *pic, size_t irqbase, 
uint32_t irq_mask)
        sc->sc_enabled_irqs[group] |= irq_mask;
        INTC_WRITE(sc, group, INTC_MIR_CLEAR, irq_mask);
 
-       aprint_normal_dev(sc->sc_dev, "unblock: group %zd: mask=%#x\n",
-           group >> 5, irq_mask);
+       aprint_debug_dev(sc->sc_dev, "unblock: group %zd: mask=%#x\n",
+           group, irq_mask);
 
        /* Force INTC to recompute IRQ availability */
        INTC_WRITE(sc, 0, INTC_CONTROL, INTC_CONTROL_NEWIRQAGR);
@@ -112,8 +112,8 @@ omap2icu_block_irqs(struct pic_softc *pic, size_t irqbase, 
uint32_t irq_mask)
        struct omap2icu_softc * const sc = PICTOSOFTC(pic);
        const size_t group = irqbase / 32;
 
-       aprint_normal_dev(sc->sc_dev, "block: group %zd: mask=%#x\n",
-           group >> 5, irq_mask);
+       aprint_debug_dev(sc->sc_dev, "block: group %zd: mask=%#x\n",
+           group, irq_mask);
 
        INTC_WRITE(sc, group, INTC_MIR_SET, irq_mask);
        sc->sc_enabled_irqs[group] &= ~irq_mask;
@@ -132,7 +132,7 @@ find_pending_irqs(struct omap2icu_softc *sc, size_t group)
        if (pending == 0)
                return 0;
 
-       aprint_normal_dev(sc->sc_dev, "group %zd: pending=%#x\n",
+       aprint_debug_dev(sc->sc_dev, "group %zd: pending=%#x\n",
            group, pending);
        return pic_mark_pending_sources(&sc->sc_pic, group * 32, pending);
 }
-- 
1.5.6.56.g29b0d



Home | Main Index | Thread Index | Old Index