From a374b8f190518a74dcc99d6bf3cf53adb7511963 Mon Sep 17 00:00:00 2001 From: Tony Ambardar Date: Wed, 17 Mar 2021 03:12:33 -0700 Subject: [PATCH] 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 Signed-off-by: Tony Ambardar --- 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 66194a5a734..2c11d078e16 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@lt5.5 \ + $(LINUX_DIR)/sound/hda/snd-intel-dspcfg.ko@ge5.5 AUTOLOAD:=$(call AutoProbe,snd-hda-intel) $(call AddDepends/sound,kmod-sound-hda-core) endef