aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/imx
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-03-05 09:30:56 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-05 19:03:13 -0500
commit56cea3f1e7db0ccde9e2ac66df2f920c73c419ef (patch)
tree20cd2f282a3d479d252d3e23690f09d9412ffab6 /sound/soc/imx
parent4762fbab0b1cf1d4f3e02b78351dc6fa59ca564e (diff)
ASoC: imx: add an explicit Kconfig option for imx-ssi driver
Currently ASoC:imx uses menuconfig option SND_IMX_SOC selects imx-ssi driver, and it works because all the machine driver covered by the menuconfig need to build imx-ssi driver in. However, it will not work any more if we have a imx based machine driver going into the menuconfig while working with fsl_ssi driver (sound/soc/fsl/fsl_ssi.c) rather than imx-ssi one. The patch adds an explicit Kconfig option SND_SOC_IMX_SSI for imx-ssi driver, so that it can be selected independently from the menuconfig option SND_IMX_SOC. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/imx')
-rw-r--r--sound/soc/imx/Kconfig7
-rw-r--r--sound/soc/imx/Makefile4
2 files changed, 9 insertions, 2 deletions
diff --git a/sound/soc/imx/Kconfig b/sound/soc/imx/Kconfig
index 2566032a4901..810acaa09009 100644
--- a/sound/soc/imx/Kconfig
+++ b/sound/soc/imx/Kconfig
@@ -8,6 +8,9 @@ menuconfig SND_IMX_SOC
8 8
9if SND_IMX_SOC 9if SND_IMX_SOC
10 10
11config SND_SOC_IMX_SSI
12 tristate
13
11config SND_SOC_IMX_PCM 14config SND_SOC_IMX_PCM
12 tristate 15 tristate
13 16
@@ -30,6 +33,7 @@ config SND_MXC_SOC_WM1133_EV1
30 select SND_SOC_WM8350 33 select SND_SOC_WM8350
31 select SND_MXC_SOC_FIQ 34 select SND_MXC_SOC_FIQ
32 select SND_SOC_IMX_AUDMUX 35 select SND_SOC_IMX_AUDMUX
36 select SND_SOC_IMX_SSI
33 help 37 help
34 Enable support for audio on the i.MX31ADS with the WM1133-EV1 38 Enable support for audio on the i.MX31ADS with the WM1133-EV1
35 PMIC board with WM8835x fitted. 39 PMIC board with WM8835x fitted.
@@ -40,6 +44,7 @@ config SND_SOC_MX27VIS_AIC32X4
40 select SND_SOC_TLV320AIC32X4 44 select SND_SOC_TLV320AIC32X4
41 select SND_MXC_SOC_MX2 45 select SND_MXC_SOC_MX2
42 select SND_SOC_IMX_AUDMUX 46 select SND_SOC_IMX_AUDMUX
47 select SND_SOC_IMX_SSI
43 help 48 help
44 Say Y if you want to add support for SoC audio on Visstrim SM10 49 Say Y if you want to add support for SoC audio on Visstrim SM10
45 board with TLV320AIC32X4 codec. 50 board with TLV320AIC32X4 codec.
@@ -51,6 +56,7 @@ config SND_SOC_PHYCORE_AC97
51 select SND_SOC_WM9712 56 select SND_SOC_WM9712
52 select SND_MXC_SOC_FIQ 57 select SND_MXC_SOC_FIQ
53 select SND_SOC_IMX_AUDMUX 58 select SND_SOC_IMX_AUDMUX
59 select SND_SOC_IMX_SSI
54 help 60 help
55 Say Y if you want to add support for SoC audio on Phytec phyCORE 61 Say Y if you want to add support for SoC audio on Phytec phyCORE
56 and phyCARD boards in AC97 mode 62 and phyCARD boards in AC97 mode
@@ -65,6 +71,7 @@ config SND_SOC_EUKREA_TLV320
65 select SND_SOC_TLV320AIC23 71 select SND_SOC_TLV320AIC23
66 select SND_MXC_SOC_FIQ 72 select SND_MXC_SOC_FIQ
67 select SND_SOC_IMX_AUDMUX 73 select SND_SOC_IMX_AUDMUX
74 select SND_SOC_IMX_SSI
68 help 75 help
69 Enable I2S based access to the TLV320AIC23B codec attached 76 Enable I2S based access to the TLV320AIC23B codec attached
70 to the SSI interface 77 to the SSI interface
diff --git a/sound/soc/imx/Makefile b/sound/soc/imx/Makefile
index e9ed362636e8..f5db3e92d0d1 100644
--- a/sound/soc/imx/Makefile
+++ b/sound/soc/imx/Makefile
@@ -1,8 +1,8 @@
1# i.MX Platform Support 1# i.MX Platform Support
2snd-soc-imx-objs := imx-ssi.o 2snd-soc-imx-ssi-objs := imx-ssi.o
3snd-soc-imx-audmux-objs := imx-audmux.o 3snd-soc-imx-audmux-objs := imx-audmux.o
4 4
5obj-$(CONFIG_SND_IMX_SOC) += snd-soc-imx.o 5obj-$(CONFIG_SND_SOC_IMX_SSI) += snd-soc-imx-ssi.o
6obj-$(CONFIG_SND_SOC_IMX_AUDMUX) += snd-soc-imx-audmux.o 6obj-$(CONFIG_SND_SOC_IMX_AUDMUX) += snd-soc-imx-audmux.o
7 7
8obj-$(CONFIG_SND_SOC_IMX_PCM) += snd-soc-imx-pcm.o 8obj-$(CONFIG_SND_SOC_IMX_PCM) += snd-soc-imx-pcm.o