]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl: Do not force codecs selection by SND_SOC_FSL_ASOC_CARD
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 30 Sep 2014 19:52:15 +0000 (16:52 -0300)
committerMark Brown <broonie@kernel.org>
Wed, 1 Oct 2014 16:07:05 +0000 (17:07 +0100)
commit10e265b2bea01f85513a38f6e7ad4382bf03c515
tree48bf85b898669602b22c269a69518869483be9b8
parent2ee478e1974bd8ed0e063b0c7e8aa5f7328e1ec1
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>
sound/soc/fsl/Kconfig