[openwrt/openwrt] kernel: add kmod-media-controller dependency for kmod-usb-audio

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 23 07:21:03 PST 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/109592524663ae8bbda47e4ad51a124153a1c903

commit 109592524663ae8bbda47e4ad51a124153a1c903
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Tue Nov 5 11:23:36 2024 +0100

    kernel: add kmod-media-controller dependency for kmod-usb-audio
    
    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 at bootlin.com>
    Link: https://github.com/openwrt/openwrt/pull/16716
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/usb.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 458c8c4ba6..466c547e8a 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -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




More information about the lede-commits mailing list