[openwrt/openwrt] kernel: 5.10: update sound modules

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 19 14:03:02 GMT 2021


ldir pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a374b8f190518a74dcc99d6bf3cf53adb7511963

commit a374b8f190518a74dcc99d6bf3cf53adb7511963
Author: Tony Ambardar <itugrok at yahoo.com>
AuthorDate: Wed Mar 17 03:12:33 2021 -0700

    kernel: 5.10: update sound modules
    
    Update file paths for kmod-sound-hda-intel and reflect new dependency of
    kmod-sound-hda-core on kmod-ledtrig-audio.
    
    Reported-by: Javier Marcet <javier at marcet.info>
    Signed-off-by: Tony Ambardar <itugrok at yahoo.com>
---
 package/kernel/linux/modules/sound.mk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index 66194a5a73..2c11d078e1 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -304,6 +304,10 @@ $(eval $(call KernelPackage,sound-dummy))
 define KernelPackage/sound-hda-core
   SUBMENU:=$(SOUND_MENU)
   TITLE:=HD Audio Sound Core Support
+  DEPENDS:= \
+	+LINUX_5_10&&PACKAGE_kmod-sound-hda-codec-realtek:kmod-ledtrig-audio \
+	+LINUX_5_10&&PACKAGE_kmod-sound-hda-codec-conexant:kmod-ledtrig-audio \
+	+LINUX_5_10&&PACKAGE_kmod-sound-hda-codec-idt:kmod-ledtrig-audio
   KCONFIG:= \
 	CONFIG_SND_HDA_CORE \
 	CONFIG_SND_HDA_HWDEP=y \
@@ -522,7 +526,8 @@ define KernelPackage/sound-hda-intel
 	CONFIG_SND_HDA_INTEL
   FILES:= \
 	$(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko \
-	$(LINUX_DIR)/sound/hda/snd-intel-nhlt.ko
+	$(LINUX_DIR)/sound/hda/snd-intel-nhlt.ko at lt5.5 \
+	$(LINUX_DIR)/sound/hda/snd-intel-dspcfg.ko at ge5.5
   AUTOLOAD:=$(call AutoProbe,snd-hda-intel)
   $(call AddDepends/sound,kmod-sound-hda-core)
 endef



More information about the lede-commits mailing list