We shouldn't really care about the return value of mixer_uninit(),

except EBUSY.
This commit is contained in:
ariff 2006-03-22 20:50:04 +00:00
parent 4c8759bdd0
commit 835b687c81

View File

@ -900,7 +900,7 @@ pcm_unregister(device_t dev)
}
}
if (mixer_uninit(dev)) {
if (mixer_uninit(dev) == EBUSY) {
device_printf(dev, "unregister: mixer busy\n");
snd_mtxunlock(d->lock);
sndstat_release();