diff options
author | Andreas Eversberg <andreas@eversberg.eu> | 2008-09-06 03:11:03 -0400 |
---|---|---|
committer | Karsten Keil <kkeil@suse.de> | 2009-01-09 16:44:27 -0500 |
commit | 9e6115f2f5a9f8568bc8565d1401086952f09736 (patch) | |
tree | 0f591352e787db9e607e9189f3bda990c34f5c46 /drivers/isdn | |
parent | 3bd69ad197a4a3d0085a5dc3b5796111bf176b12 (diff) |
mISDN: Fix irq detection
Fix false irq detection on disabled irqs.
Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
Signed-off-by: Karsten Keil <kkeil@suse.de>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcmulti.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c index 592db93105f9..4cfab20d71a9 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) | |||
2658 | if (status & V_MISC_IRQSTA) { | 2658 | if (status & V_MISC_IRQSTA) { |
2659 | /* misc IRQ */ | 2659 | /* misc IRQ */ |
2660 | r_irq_misc = HFC_inb_nodebug(hc, R_IRQ_MISC); | 2660 | r_irq_misc = HFC_inb_nodebug(hc, R_IRQ_MISC); |
2661 | r_irq_misc &= hc->hw.r_irqmsk_misc; /* ignore disabled irqs */ | ||
2661 | if (r_irq_misc & V_STA_IRQ) { | 2662 | if (r_irq_misc & V_STA_IRQ) { |
2662 | if (hc->type == 1) { | 2663 | if (hc->type == 1) { |
2663 | /* state machine */ | 2664 | /* state machine */ |