From 4e77c04865851bcfed012fc99afb0b3acb7b7d81 Mon Sep 17 00:00:00 2001 From: Cameron Grant Date: Sat, 19 Aug 2000 18:22:20 +0000 Subject: [PATCH] don't complain about bad irqs if using a shared irq --- sys/dev/sound/pci/solo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/sound/pci/solo.c b/sys/dev/sound/pci/solo.c index 5af273081b0..8c1f7bbd5be 100644 --- a/sys/dev/sound/pci/solo.c +++ b/sys/dev/sound/pci/solo.c @@ -317,6 +317,9 @@ ess_intr(void *arg) if (ess_rd(sc, 0x0c) & 0x01) src |= 1; + if (src == 0) + return; + if (sc->duplex) { pirq = (src & sc->pch.hwch)? 1 : 0; rirq = (src & sc->rch.hwch)? 1 : 0;