various fixes to eliminate locking warnings
Approved by: re Reviewed by: orion
This commit is contained in:
parent
0586ff0d84
commit
68f4e7f1d3
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user