aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorCameron Grant <cg@FreeBSD.org>2002-11-25 17:07:33 +0000
committerCameron Grant <cg@FreeBSD.org>2002-11-25 17:07:33 +0000
commit68f4e7f1d353d95cfbb7f682b22304fe08e43a8d (patch)
treeec8719df4218a875d129f47a265300d892bc8054 /sys/dev
parent0586ff0d8499be18d1f273e33eb4472a96217ecd (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sound/pci/emu10k1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/emu10k1.c b/sys/dev/sound/pci/emu10k1.c
index 02f986718c0c..0448e8a7cc64 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;
}