From: Andreas Eversberg Date: Sat, 6 Sep 2008 07:11:03 +0000 (+0200) Subject: mISDN: Fix irq detection X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e6115f2f5a9f8568bc8565d1401086952f09736;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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 */