diff options
author | yongari <yongari@FreeBSD.org> | 2006-07-06 10:39:58 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2006-07-06 10:39:58 +0000 |
commit | c8a7db4bee6879fbceaa769b609a8d5a360122d3 (patch) | |
tree | 42f0bf78def823749bf4fb2e554b5bf2744284e5 /sys/dev | |
parent | 3841b0dbab7e9af947147179e5a2ae6ae19f0296 (diff) | |
download | FreeBSD-src-c8a7db4bee6879fbceaa769b609a8d5a360122d3.zip FreeBSD-src-c8a7db4bee6879fbceaa769b609a8d5a360122d3.tar.gz |
Fix a missing unlock operation in interrupt handler.
PR: kern/99205
Submitted by: Alexey Illarionov <littlesavage AT rambler DOT ru>
MFC after: 1 week
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/pci/solo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/solo.c b/sys/dev/sound/pci/solo.c index 991f8cd..9b099c8 100644 --- a/sys/dev/sound/pci/solo.c +++ b/sys/dev/sound/pci/solo.c @@ -312,8 +312,10 @@ ess_intr(void *arg) if (ess_rd(sc, 0x0c) & 0x01) src |= 1; - if (src == 0) + if (src == 0) { + ess_unlock(sc); return; + } if (sc->duplex) { pirq = (src & sc->pch.hwch)? 1 : 0; |