Skip to contentSkip to conversation

ASoC: fsl: fsl_asrc: Select SND_SOC_GENERIC_DMAENGINE_PCM

PATCH Applied Fabio Estevam 3 participants 3 messages Jul 30, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: fsl: fsl_asrc: Select SND_SOC_GENERIC_DMAENGINE_PCM

From: Fabio Estevam <[email protected]>

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.

---
 sound/soc/fsl/Kconfig | 1 +
 1 file changed, 1 insertion(+)
sound/soc/fsl/Kconfig +1 -0
index 2fb8a43..f54a8fc 100644
@@ -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.
Signature · 1 line
1.9.1
#1 lore raw

Oops
....I just found that all kbuild mails were sent to this mailbox
as I changed the address
for recent patches...

Fabio, thank you for covering me

.
Nicolin

Quoted 3 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Building a kernel with SND_SOC_GENERIC_DMAENGINE_PCM=n leads to the

following

Quoted 3 lines

error:

ERROR: "snd_dmaengine_pcm_prepare_slave_config"

[sound/soc/fsl/snd-soc-fsl-asrc.ko] undefined!

Quoted 2 lines

Let SND_SOC_FSL_ASRC select SND_SOC_GENERIC_DMAENGINE_PCM in order to fix

such

Quoted 13 lines

error.

---
 sound/soc/fsl/Kconfig | 1 +
 1 file changed, 1 insertion(+)
sound/soc/fsl/Kconfig +0 -0
index 2fb8a43..f54a8fc 100644

sound/soc/fsl/Kconfig comment "Common SoC Audio options for Freescale CPUs:" · line 6

Quoted 2 lines
sound/soc/fsl/Kconfig +0 -0
@@ -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"

sound/soc/fsl/Kconfig comment "Common SoC Audio options for Freescale CPUs:"

Quoted 4 lines
sound/soc/fsl/Kconfig +1 -0
        select REGMAP_MMIO
+       select SND_SOC_GENERIC_DMAENGINE_PCM
        help
          Say Y if you want to add Asynchronous Sample Rate Converter

(ASRC)

Quoted 4 lines
sound/soc/fsl/Kconfig +0 -1
          support for the Freescale CPUs.
--

1.9.1