summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hardware
diff options
context:
space:
mode:
authorAndreas Eversberg <andreas@eversberg.eu>2008-09-06 09:11:03 +0200
committerKarsten Keil <kkeil@suse.de>2009-01-09 22:44:27 +0100
commit9e6115f2f5a9f8568bc8565d1401086952f09736 (patch)
tree0f591352e787db9e607e9189f3bda990c34f5c46 /drivers/isdn/hardware
parentmISDN: Add ISDN sample clock API to mISDN core (diff)
downloadlinux-9e6115f2f5a9f8568bc8565d1401086952f09736.tar.xz
linux-9e6115f2f5a9f8568bc8565d1401086952f09736.zip
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/hardware')
-rw-r--r--drivers/isdn/hardware/mISDN/hfcmulti.c1
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)
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 */