kernel: usb: kmod-usb-audio: Fix dependency

Change the dependency on the kmod-media-controller from depends to
select.

Fixes: 1095925246 ("kernel: add kmod-media-controller dependency for kmod-usb-audio")
Link: https://github.com/openwrt/openwrt/pull/17058
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2024-11-24 14:57:19 +01:00
parent ea2c860225
commit b7dd70a0d7

View File

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