From: Andreas Eversberg Date: Sat, 6 Sep 2008 07:11:03 +0000 (+0200) Subject: mISDN: Fix irq detection X-Git-Tag: v2.6.29-rc1~20^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9e6115f2f5a9f8568bc8565d1401086952f09736;p=linux-2.6-omap-h63xx.git mISDN: Fix irq detection Fix false irq detection on disabled irqs. Signed-off-by: Andreas Eversberg Signed-off-by: Karsten Keil --- diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c index 592db93105f..4cfab20d71a 100644 --- a/drivers/isdn/hardware/mISDN/hfcmulti.c +++ b/drivers/isdn/hardware/mISDN/hfcmulti.c @@ -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 */