ASoC: fsl: fsl_asrc: Select SND_SOC_GENERIC_DMAENGINE_PCM
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 30 Jul 2014 14:27:06 +0000 (11:27 -0300)
committerMark Brown <broonie@linaro.org>
Wed, 30 Jul 2014 23:04:23 +0000 (00:04 +0100)
Building a kernel with SND_SOC_GENERIC_DMAENGINE_PCM=n leads to the following
error:

ERROR: "snd_dmaengine_pcm_prepare_slave_config" [sound/soc/fsl/snd-soc-fsl-asrc.ko] undefined!

Let SND_SOC_FSL_ASRC select SND_SOC_GENERIC_DMAENGINE_PCM in order to fix such
error.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/Kconfig

index 56fd32b3a881cc8833efd8a8b854e027007d81fa..0ec1b7a42910147095a50765090e1ffd2cd89969 100644 (file)
@@ -5,6 +5,7 @@ comment "Common SoC Audio options for Freescale CPUs:"
 config SND_SOC_FSL_ASRC
        tristate "Asynchronous Sample Rate Converter (ASRC) module support"
        select REGMAP_MMIO
+       select SND_SOC_GENERIC_DMAENGINE_PCM
        help
          Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
          support for the Freescale CPUs.