linux/sound/soc/stm
Arnd Bergmann 9cee7972bd
ASoC: stm32: select IIO_BUFFER
The new stm32_adfsdm driver has incomplete dependencies as shown
by Kconfig:

warning: (SND_SOC_STM32_DFSDM && LMP91000) selects IIO_BUFFER_CB which has unmet direct dependencies (IIO && IIO_BUFFER)
sound/soc/stm/stm32_adfsdm.o: In function `stm32_adfsdm_trigger':
stm32_adfsdm.c:(.text+0x8c): undefined reference to `stm32_dfsdm_get_buff_cb'
stm32_adfsdm.c:(.text+0x9c): undefined reference to `stm32_dfsdm_release_buff_cb'

This makes the dependency on SND_SOC_STM32_DFSDM unconditional, so we can
always resolve the stm32_dfsdm_get_buff_cb/stm32_dfsdm_release_buff_cb
symbols and get the implied IIO_BUFFER dependency.

compile-testing on other platforms is still possible as long as that IIO
driver is there.

Fixes: 55da094824 ("ASoC: stm32: add DFSDM DAI support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-01-11 10:39:19 +00:00
..
Kconfig ASoC: stm32: select IIO_BUFFER 2018-01-11 10:39:19 +00:00
Makefile ASoC: stm32: add DFSDM DAI support 2018-01-10 10:52:05 +00:00
stm32_adfsdm.c ASoC: stm32: add DFSDM DAI support 2018-01-10 10:52:05 +00:00
stm32_i2s.c ASoC: stm32: explicitly request exclusive reset control 2017-07-19 17:07:04 +01:00
stm32_sai_sub.c ASoC: stm32: sai: fix warning in stm32_sai_set_config() 2017-11-02 10:58:57 +00:00
stm32_sai.c ASoC: stm32: sai: Add synchronization support 2017-10-21 11:17:49 +01:00
stm32_sai.h ASoC: stm32: sai: Add synchronization support 2017-10-21 11:17:49 +01:00
stm32_spdifrx.c ASoC: stm32: spdifrx: fix control DMA error management 2017-11-06 15:45:45 +00:00