aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commitb24b40932ab5065d8b5885ce3133324511d72ee5 (patch)
treebd98b6abfe90075ae7af75395916be9782434638 /package
parenta2f5118bb7db4ccac39f962aef6a16066ecda76e (diff)
downloadupstream-b24b40932ab5065d8b5885ce3133324511d72ee5.tar.gz
upstream-b24b40932ab5065d8b5885ce3133324511d72ee5.tar.bz2
upstream-b24b40932ab5065d8b5885ce3133324511d72ee5.zip
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')
-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