public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: fsl: select SND_SOC_IMX_PCM_DMA where needed
@ 2014-04-28 14:46 Arnd Bergmann
  2014-04-28 18:46 ` Alexander Shiyan
  0 siblings, 1 reply; 14+ messages in thread
From: Arnd Bergmann @ 2014-04-28 14:46 UTC (permalink / raw)
  To: linux-arm-kernel

Since commit 204dec93eaa "ASoC: fsl: Allow to select individual common
options", it is possible to enable SND_SOC_FSL_SSI and SND_SOC_FSL_SPDIF
manually. However, these two options are for drivers that both
require the imx-pcm-dma framework and result in a link error if that
is not provided.

This changes Kconfig to automatically select SND_SOC_IMX_PCM_DMA
to avoid the problem, as we do for other drivers that need the same
framework.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index fb26345..25abd21 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -9,6 +9,7 @@ config SND_SOC_FSL_SAI
 
 config SND_SOC_FSL_SSI
 	tristate "Synchronous Serial Interface module support"
+	select SND_SOC_IMX_PCM_DMA
 	help
 	  Say Y if you want to add Synchronous Serial Interface (SSI)
 	  support for the Freescale CPUs.
@@ -17,6 +18,7 @@ config SND_SOC_FSL_SSI
 
 config SND_SOC_FSL_SPDIF
 	tristate "Sony/Philips Digital Interface module support"
+	select SND_SOC_IMX_PCM_DMA
 	select REGMAP_MMIO
 	help
 	  Say Y if you want to add Sony/Philips Digital Interface (SPDIF)

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-05-01 20:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-28 14:46 [PATCH] ASoC: fsl: select SND_SOC_IMX_PCM_DMA where needed Arnd Bergmann
2014-04-28 18:46 ` Alexander Shiyan
2014-04-28 19:52   ` Arnd Bergmann
2014-04-28 20:35     ` Alexander Shiyan
2014-04-28 21:12       ` Arnd Bergmann
2014-04-29  3:07         ` Alexander Shiyan
2014-04-29 10:37           ` Arnd Bergmann
2014-04-29 10:57             ` [alsa-devel] " Lars-Peter Clausen
2014-04-29 13:30               ` Arnd Bergmann
2014-04-29 14:30                 ` Lars-Peter Clausen
2014-04-29 16:56                   ` Mark Brown
2014-04-29 19:16                     ` Arnd Bergmann
2014-04-29 19:36                       ` Arnd Bergmann
2014-05-01 20:54                         ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox