diff options
author | cg <cg@FreeBSD.org> | 2002-11-25 17:07:33 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2002-11-25 17:07:33 +0000 |
commit | 79ac90c6dbdb26a4402c5fb31a4a94d6e72e133e (patch) | |
tree | ec8719df4218a875d129f47a265300d892bc8054 /sys/dev/sound | |
parent | f65ee32d14271ec8572e920508e632672d8dadbb (diff) | |
download | FreeBSD-src-79ac90c6dbdb26a4402c5fb31a4a94d6e72e133e.zip FreeBSD-src-79ac90c6dbdb26a4402c5fb31a4a94d6e72e133e.tar.gz |
various fixes to eliminate locking warnings
Approved by: re
Reviewed by: orion
Diffstat (limited to 'sys/dev/sound')
-rw-r--r-- | sys/dev/sound/pci/emu10k1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/emu10k1.c b/sys/dev/sound/pci/emu10k1.c index 02f9867..0448e8a 100644 --- a/sys/dev/sound/pci/emu10k1.c +++ b/sys/dev/sound/pci/emu10k1.c @@ -636,8 +636,8 @@ emupchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel snd_mtxlock(sc->lock); ch->master = emu_valloc(sc); ch->slave = emu_valloc(sc); - r = (emu_vinit(sc, ch->master, ch->slave, sc->bufsz, ch->buffer))? NULL : ch; snd_mtxunlock(sc->lock); + r = (emu_vinit(sc, ch->master, ch->slave, sc->bufsz, ch->buffer))? NULL : ch; return r; } |