aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/kernel/linux/modules/sound.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index faee6043dc..692ede30ee 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -254,6 +254,20 @@ endef
$(eval $(call KernelPackage,sound-soc-imx-sgtl5000))
+define KernelPackage/sound-soc-spdif
+ TITLE:=SoC S/PDIF codec support
+ KCONFIG:=CONFIG_SND_SOC_SPDIF
+ FILES:= \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-spdif-tx.ko \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-spdif-rx.ko
+ DEPENDS:=+kmod-sound-soc-core
+ AUTOLOAD:=$(call AutoProbe,snd-soc-spdif-tx snd-soc-spdif-rx)
+ $(call AddDepends/sound)
+endef
+
+$(eval $(call KernelPackage,sound-soc-spdif))
+
+
define KernelPackage/pcspkr
DEPENDS:=@TARGET_x86 +kmod-input-core
TITLE:=PC speaker support