]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: sst v2: Add makefiles and kconfigs changes
authorVinod Koul <vinod.koul@intel.com>
Tue, 4 Jan 2011 14:47:04 +0000 (20:17 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 6 Jan 2011 13:49:24 +0000 (13:49 +0000)
This patch adds the makefile and kconfig changes for mid asoc drivers:
platform and machine driver which are introduced in 2 preceeding patches

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Harsha Priya <priya.harsha@intel.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/Kconfig
sound/soc/Makefile
sound/soc/mid-x86/Kconfig [new file with mode: 0644]
sound/soc/mid-x86/Makefile [new file with mode: 0644]

index a3efc52a34da28c6742fe688dd413151ff931b3d..821ab0b759bb6ef869314f166bed3e28ae43882d 100644 (file)
@@ -50,6 +50,7 @@ source "sound/soc/jz4740/Kconfig"
 source "sound/soc/nuc900/Kconfig"
 source "sound/soc/omap/Kconfig"
 source "sound/soc/kirkwood/Kconfig"
+source "sound/soc/mid-x86/Kconfig"
 source "sound/soc/pxa/Kconfig"
 source "sound/soc/samsung/Kconfig"
 source "sound/soc/s6000/Kconfig"
index ce913bf5213c0d58a14085ace1a1c315fcbc92a1..df83d2143afbf86d4baf50ca3ae3e26f821a12e0 100644 (file)
@@ -10,6 +10,7 @@ obj-$(CONFIG_SND_SOC) += ep93xx/
 obj-$(CONFIG_SND_SOC)  += fsl/
 obj-$(CONFIG_SND_SOC)   += imx/
 obj-$(CONFIG_SND_SOC)  += jz4740/
+obj-$(CONFIG_SND_SOC)  += mid-x86/
 obj-$(CONFIG_SND_SOC)  += nuc900/
 obj-$(CONFIG_SND_SOC)  += omap/
 obj-$(CONFIG_SND_SOC)  += kirkwood/
diff --git a/sound/soc/mid-x86/Kconfig b/sound/soc/mid-x86/Kconfig
new file mode 100644 (file)
index 0000000..e0123a4
--- /dev/null
@@ -0,0 +1,13 @@
+config SND_MFLD_MACHINE
+       tristate "SOC Machine Audio driver for Intel Medfield MID platform"
+       select SND_SOC_SN95031
+       select SND_SST_PLATFORM
+       help
+          This adds support for ASoC machine driver for Intel(R) MID Medfield platform
+          used as alsa device in audio substem in Intel(R) MID devices
+          Say Y if you have such a device
+          If unsure select "N".
+
+config SND_SST_PLATFORM
+       tristate
+       depends on SND_INTEL_SST
diff --git a/sound/soc/mid-x86/Makefile b/sound/soc/mid-x86/Makefile
new file mode 100644 (file)
index 0000000..a1a9331
--- /dev/null
@@ -0,0 +1,7 @@
+EXTRA_CFLAGS += -DDEBUG
+
+snd-soc-sst-platform-objs := sst_platform.o
+snd-soc-mfld-machine-objs := mfld_machine.o
+
+obj-$(CONFIG_SND_SST_PLATFORM) += snd-soc-sst-platform.o
+obj-$(CONFIG_SND_MFLD_MACHINE) += snd-soc-mfld-machine.o