summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorwigyori <wigyori@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-12 01:09:15 +0000
committerwigyori <wigyori@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-12 01:09:15 +0000
commit1bc17f631b8eb6305965c8b0413ec776488a33c0 (patch)
treebd98b6abfe90075ae7af75395916be9782434638 /package/kernel/linux/modules
parent64fe2d28aaf0414d745dc05102cbd89ec763fe17 (diff)
kernel: add new core sound module snd-pcm-dmaengine.ko for 3.12 kernels and above
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38772 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/linux/modules')
-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 28b989063f..4e1a656dd2 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