[source] kernel: add missing snd-hda-intel module for Linux 3.18 and 4.1

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 4 15:45:19 PDT 2016


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/8462ec31345fdf9adde0faeb5096cb56d3165905

commit 8462ec31345fdf9adde0faeb5096cb56d3165905
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Wed Oct 5 00:43:10 2016 +0200

    kernel: add missing snd-hda-intel module for Linux 3.18 and 4.1
    
    Prior to kernel 4.4, the hda-intel module depends on the hda-controller
    utility submodule so bundle it for the older kernel versions.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 package/kernel/linux/modules/sound.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index 13b0bb0..2f3e79f 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -507,8 +507,9 @@ define KernelPackage/sound-hda-intel
 	CONFIG_SOUND_PCI \
 	CONFIG_SND_HDA_INTEL
   FILES:= \
-	$(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko
-  AUTOLOAD:=$(call AutoProbe,snd-hda-intel)
+	$(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko \
+	$(LINUX_DIR)/sound/pci/hda/snd-hda-controller.ko at lt4.4
+  AUTOLOAD:=$(call AutoProbe,snd-hda-controller at lt4.4 snd-hda-intel)
   $(call AddDepends/sound,kmod-sound-hda-core)
 endef
 



More information about the lede-commits mailing list