diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2014-05-14 07:33:06 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2014-05-14 07:33:06 +0000 |
commit | a3837e481c7d18ac1efd0b6f3f3bdba53039d1ee (patch) | |
tree | 5d90b00628ac792da59256a8b5f0d6221c65392e /sys | |
parent | 185e05ee1a28a5fd897416874d5c71eb69198341 (diff) | |
download | src-a3837e481c7d18ac1efd0b6f3f3bdba53039d1ee.tar.gz src-a3837e481c7d18ac1efd0b6f3f3bdba53039d1ee.zip |
Change the USB audio kernel module linking order, so that the USB
audio device driver is detached first and not its children. This fixes
a panic in some cases when unloading "snd_uaudio" while a USB device
is plugged. The linking order affects the order in which the module
dependencies are registered.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=266006
Diffstat (limited to 'sys')
-rw-r--r-- | sys/modules/sound/driver/uaudio/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/sound/driver/uaudio/Makefile b/sys/modules/sound/driver/uaudio/Makefile index 7fa025a58e18..1dd449315653 100644 --- a/sys/modules/sound/driver/uaudio/Makefile +++ b/sys/modules/sound/driver/uaudio/Makefile @@ -7,6 +7,6 @@ S= ${.CURDIR}/../../../.. KMOD= snd_uaudio SRCS= bus_if.h device_if.h usb_if.h vnode_if.h SRCS+= opt_usb.h opt_bus.h feeder_if.h channel_if.h usbdevs.h -SRCS+= uaudio.c uaudio_pcm.c +SRCS+= uaudio_pcm.c uaudio.c .include <bsd.kmod.mk> |