We shouldn't really care about the return value of mixer_uninit(),
except EBUSY.
This commit is contained in:
parent
4c8759bdd0
commit
835b687c81
@ -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");
|
device_printf(dev, "unregister: mixer busy\n");
|
||||||
snd_mtxunlock(d->lock);
|
snd_mtxunlock(d->lock);
|
||||||
sndstat_release();
|
sndstat_release();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user