kernel: add sound-soc-imx-sgtl5000
authorLuka Perkov <luka@openwrt.org>
Mon, 15 Jul 2013 23:18:34 +0000 (23:18 +0000)
committerLuka Perkov <luka@openwrt.org>
Mon, 15 Jul 2013 23:18:34 +0000 (23:18 +0000)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 37360

package/kernel/linux/modules/sound.mk

index 74de21f2ad670ff22d4e9f0a20fc50002ff6ac58..ca5b5d236ca2e0bf7ee3395bdf4476947372ed28 100644 (file)
@@ -201,6 +201,22 @@ endef
 $(eval $(call KernelPackage,sound-soc-imx))
 
 
+define KernelPackage/sound-soc-imx-sgtl5000
+  TITLE:=IMX SoC support for SGTL5000
+  KCONFIG:=CONFIG_SND_SOC_IMX_SGTL5000
+  FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-sgtl5000.ko
+  AUTOLOAD:=$(call AutoLoad,57,snd-soc-sgtl5000)
+  DEPENDS:=@TARGET_imx6 +kmod-sound-soc-imx
+  $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-imx-sgtl5000/description
+ support for i.MX6 Platform sound SGTL5000 codec
+endef
+
+$(eval $(call KernelPackage,sound-soc-imx-sgtl5000))
+
+
 define KernelPackage/sound-soc-gw_avila
   TITLE:=Gateworks Avila SoC sound support
   KCONFIG:= \