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

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 28 10:58:28 PST 2024


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/e654d55446a505dd59c1deb1b0a3f87a983dfdf4

commit e654d55446a505dd59c1deb1b0a3f87a983dfdf4
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>
    (cherry picked from commit 109592524663ae8bbda47e4ad51a124153a1c903)
    Link: https://github.com/openwrt/openwrt/pull/17097
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 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