From: Jo-Philipp Wich Date: Tue, 4 Oct 2016 22:43:10 +0000 (+0200) Subject: kernel: add missing snd-hda-intel module for Linux 3.18 and 4.1 X-Git-Tag: v17.01.0-rc1~1265 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=8462ec31345fdf9adde0faeb5096cb56d3165905 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 --- diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index 13b0bb0dfe..2f3e79f55a 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@lt4.4 + AUTOLOAD:=$(call AutoProbe,snd-hda-controller@lt4.4 snd-hda-intel) $(call AddDepends/sound,kmod-sound-hda-core) endef