diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-16 03:25:59 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-16 03:25:59 +0000 |
commit | 0bd702e1cb76adc0f3b1e5d4795ea3ea1519b176 (patch) | |
tree | 2c11c92d238298a4ec21ef54cdbcc0481dd7359f | |
parent | 9d074241bcff8423454cbe6448c4d5d9efaa71ce (diff) | |
download | master-187ad058-0bd702e1cb76adc0f3b1e5d4795ea3ea1519b176.tar.gz master-187ad058-0bd702e1cb76adc0f3b1e5d4795ea3ea1519b176.tar.bz2 master-187ad058-0bd702e1cb76adc0f3b1e5d4795ea3ea1519b176.zip |
kernel: imx6: add modules needed for sgtl5000 audio codec
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38427 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/linux/modules/sound.mk | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index 52ce0ccc92..28b989063f 100644 --- a/package/kernel/linux/modules/sound.mk +++ b/package/kernel/linux/modules/sound.mk @@ -183,13 +183,15 @@ $(eval $(call KernelPackage,sound-soc-ac97)) define KernelPackage/sound-soc-imx TITLE:=IMX SoC support KCONFIG:=\ - CONFIG_SND_IMX_SOC \ - CONFIG_SND_SOC_IMX_AUDMUX \ - CONFIG_SND_SOC_IMX_PCM + CONFIG_SND_IMX_SOC \ + CONFIG_SND_SOC_IMX_AUDMUX \ + CONFIG_SND_SOC_FSL_SSI \ + CONFIG_SND_SOC_IMX_PCM FILES:= \ $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-audmux.ko \ + $(LINUX_DIR)/sound/soc/fsl/snd-soc-fsl-ssi.ko \ $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-pcm.ko - AUTOLOAD:=$(call AutoLoad,56,snd-soc-imx) + AUTOLOAD:=$(call AutoLoad,56,snd-soc-imx-audmux snd-soc-fsl-ssi snd-soc-imx-pcm) DEPENDS:=@TARGET_imx6 +kmod-sound-soc-core $(call AddDepends/sound) endef @@ -204,8 +206,10 @@ $(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) + FILES:=\ + $(LINUX_DIR)/sound/soc/codecs/snd-soc-sgtl5000.ko \ + $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-sgtl5000.ko + AUTOLOAD:=$(call AutoLoad,57,snd-soc-sgtl5000 snd-soc-imx-sgtl5000) DEPENDS:=@TARGET_imx6 +kmod-sound-soc-imx $(call AddDepends/sound) endef |