Port-arm archive

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

[PATCH 7/11] ARM: OMAP2: fix typo / use debug instead of normal print



ARM: OMAP2: fix typo / use debug instead of normal print

---
 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 ed82c81..1d790c5 100644
--- a/sys/arch/arm/omap/omap2_icu.c
+++ b/sys/arch/arm/omap/omap2_icu.c
@@ -98,8 +98,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);
@@ -111,8 +111,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;
@@ -131,7 +131,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.4.2


Home | Main Index | Thread Index | Old Index