wil6210: rearrange IRQ debug printing
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Mon, 28 Jan 2013 16:30:57 +0000 (18:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Jan 2013 20:07:11 +0000 (15:07 -0500)
Make printings from IRQ appears in dmesg in chronological order

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/interrupt.c

index d2109d53674aff2094267932f80ce915a72b89e9..660bacf32d0179faf41fe96d1d66fc0a70503e5c 100644 (file)
@@ -390,6 +390,8 @@ static irqreturn_t wil6210_hardirq(int irq, void *cookie)
        if (wil6210_debug_irq_mask(wil, pseudo_cause))
                return IRQ_NONE;
 
+       wil_dbg_IRQ(wil, "Pseudo IRQ 0x%08x\n", pseudo_cause);
+
        wil6210_mask_irq_pseudo(wil);
 
        /* Discover real IRQ cause
@@ -421,8 +423,6 @@ static irqreturn_t wil6210_hardirq(int irq, void *cookie)
        if (rc != IRQ_WAKE_THREAD)
                wil6210_unmask_irq_pseudo(wil);
 
-       wil_dbg_IRQ(wil, "Hard IRQ 0x%08x\n", pseudo_cause);
-
        return rc;
 }