ASoC: imx: add an explicit Kconfig option for imx-ssi driver
authorShawn Guo <shawn.guo@linaro.org>
Mon, 5 Mar 2012 14:30:56 +0000 (22:30 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 6 Mar 2012 00:03:13 +0000 (00:03 +0000)
commit56cea3f1e7db0ccde9e2ac66df2f920c73c419ef
tree20cd2f282a3d479d252d3e23690f09d9412ffab6
parent4762fbab0b1cf1d4f3e02b78351dc6fa59ca564e
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>
sound/soc/imx/Kconfig
sound/soc/imx/Makefile