kernel: add kmod-media-controller dependency for kmod-usb-audio
authorThomas Richard <thomas.richard@bootlin.com>
Tue, 5 Nov 2024 10:23:36 +0000 (11:23 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 23 Nov 2024 14:53:21 +0000 (15:53 +0100)
The snd-usb-audio drivers uses media controller if media controller is set.
So add kmod-media-controller as dependency.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/16716
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/usb.mk

index 458c8c4ba68f8626f0a4bcc62a8b5d0d8b03aceb..466c547e8ab2dd75130fba21201fd85fe9861fc4 100644 (file)
@@ -576,6 +576,7 @@ define KernelPackage/usb-audio
        CONFIG_SND_USB_AUDIO
   $(call AddDepends/usb)
   $(call AddDepends/sound)
+  DEPENDS+=kmod-media-controller
   FILES:= \
        $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
        $(LINUX_DIR)/sound/usb/snd-usb-audio.ko