mISDN: Fix irq detection
authorAndreas Eversberg <andreas@eversberg.eu>
Sat, 6 Sep 2008 07:11:03 +0000 (09:11 +0200)
committerKarsten Keil <kkeil@suse.de>
Fri, 9 Jan 2009 21:44:27 +0000 (22:44 +0100)
Fix false irq detection on disabled irqs.

Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
Signed-off-by: Karsten Keil <kkeil@suse.de>
drivers/isdn/hardware/mISDN/hfcmulti.c

index 592db93..4cfab20 100644 (file)
@@ -2658,6 +2658,7 @@ hfcmulti_interrupt(int intno, void *dev_id)
        if (status & V_MISC_IRQSTA) {
                /* misc IRQ */
                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 (hc->type == 1) {
                                /* state machine */