diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-09-30 15:52:15 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-01 12:07:05 -0400 |
commit | c05a11f7b8b5bc67f2c9f726c52b59f67b1bfe7d (patch) | |
tree | 48bf85b898669602b22c269a69518869483be9b8 | |
parent | 014fd22ef9c6a7e9536b7e16635714a1a34810a8 (diff) |
ASoC: fsl: Do not force codecs selection by SND_SOC_FSL_ASOC_CARD
The wm8962 driver uses the input subsystem, but it is selected by
SND_SOC_FSL_ASOC_CARD, which can be built with CONFIG_INPUT disabled,
resulting in this link error:
ERROR: "input_event" [sound/soc/codecs/snd-soc-wm8962.ko] undefined!
ERROR: "input_register_device" [sound/soc/codecs/snd-soc-wm8962.ko] undefined!
ERROR: "devm_input_allocate_device" [sound/soc/codecs/snd-soc-wm8962.ko] undefined!
Do not force the selection of the codecs by SND_SOC_FSL_ASOC_CARD to avoid
such problem.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/fsl/Kconfig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index 7c1da8ede975..0f23d1ae5be7 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig | |||
@@ -289,9 +289,6 @@ config SND_SOC_FSL_ASOC_CARD | |||
289 | select SND_SOC_FSL_ESAI | 289 | select SND_SOC_FSL_ESAI |
290 | select SND_SOC_FSL_SAI | 290 | select SND_SOC_FSL_SAI |
291 | select SND_SOC_FSL_SSI | 291 | select SND_SOC_FSL_SSI |
292 | select SND_SOC_CS42XX8_I2C | ||
293 | select SND_SOC_SGTL5000 | ||
294 | select SND_SOC_WM8962 | ||
295 | help | 292 | help |
296 | ALSA SoC Audio support with ASRC feature for Freescale SoCs that have | 293 | ALSA SoC Audio support with ASRC feature for Freescale SoCs that have |
297 | ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888 | 294 | ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888 |