Skip to content

Commit

Permalink
wil6210: rearrange IRQ debug printing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vladimir Kondratiev authored and John W. Linville committed Jan 30, 2013
1 parent 7269494 commit 4789d72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ath/wil6210/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 4789d72

Please sign in to comment.