summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/solo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pci/solo.c')
-rw-r--r--sys/dev/sound/pci/solo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/solo.c b/sys/dev/sound/pci/solo.c
index 5af2730..8c1f7bb 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;
OpenPOWER on IntegriCloud