summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2013-11-12 01:09:15 +0000
committerZoltan Herpai <wigyori@uid0.hu>2013-11-12 01:09:15 +0000
commitff41e07aa2277e8844e373a0667587828c008725 (patch)
treeb2a6a57b6bf245c8dd5c2331a89741a7b043374d /package/kernel
parent1df0179b2834ab284dba93e9f45b2f4796e995ad (diff)
downloadmtk-20170518-ff41e07aa2277e8844e373a0667587828c008725.zip
mtk-20170518-ff41e07aa2277e8844e373a0667587828c008725.tar.gz
mtk-20170518-ff41e07aa2277e8844e373a0667587828c008725.tar.bz2
kernel: add new core sound module snd-pcm-dmaengine.ko for 3.12 kernels and above
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 38772
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/sound.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index 28b9890..4e1a656 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -40,6 +40,14 @@ SOUNDCORE_FILES += \
$(LINUX_DIR)/sound/core/snd-compress.ko
endif
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.12.0)),1)
+SOUNDCORE_LOAD += \
+ snd-pcm-dmaengine
+
+SOUNDCORE_FILES += \
+ $(LINUX_DIR)/sound/core/snd-pcm-dmaengine.ko
+endif
+
define KernelPackage/sound-core
SUBMENU:=$(SOUND_MENU)
TITLE:=Sound support