Commit 9e6115f2 authored by Andreas Eversberg's avatar Andreas Eversberg Committed by Karsten Keil

mISDN: Fix irq detection

Fix false irq detection on disabled irqs.
Signed-off-by: default avatarAndreas Eversberg <andreas@eversberg.eu>
Signed-off-by: default avatarKarsten Keil <kkeil@suse.de>
parent 3bd69ad1
...@@ -2658,6 +2658,7 @@ hfcmulti_interrupt(int intno, void *dev_id) ...@@ -2658,6 +2658,7 @@ hfcmulti_interrupt(int intno, void *dev_id)
if (status & V_MISC_IRQSTA) { if (status & V_MISC_IRQSTA) {
/* misc IRQ */ /* misc IRQ */
r_irq_misc = HFC_inb_nodebug(hc, R_IRQ_MISC); r_irq_misc = HFC_inb_nodebug(hc, R_IRQ_MISC);
r_irq_misc &= hc->hw.r_irqmsk_misc; /* ignore disabled irqs */
if (r_irq_misc & V_STA_IRQ) { if (r_irq_misc & V_STA_IRQ) {
if (hc->type == 1) { if (hc->type == 1) {
/* state machine */ /* state machine */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment