1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/dev/sound
Tai-hwa Liang 076cf2dd66 Using the error return code documented in the comment.
Though there is no direct midi_uninit() caller amongst existing drivers
at this moment, a quick experiment indicates that EBUSY gives users more
precise error message once drivers start to honour this result.  For example,
emu_midi_detach() should check the result of mpu401_uninit() and block
module unloading if there is any MIDI I/O in progress.

MFC after:	2 weeks
2015-08-18 13:16:06 +00:00
..
isa
macio
midi Using the error return code documented in the comment. 2015-08-18 13:16:06 +00:00
pci
pcm
sbus
usb
chip.h
clone.c
clone.h
driver.c
unit.c
unit.h
version.h