linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: Tegra and i.MX are mutually exclusive
@ 2013-06-24 15:04 Arnd Bergmann
  2013-06-24 15:28 ` Stephen Warren
  2013-06-25  6:36 ` [alsa-devel] " Lars-Peter Clausen
  0 siblings, 2 replies; 5+ messages in thread
From: Arnd Bergmann @ 2013-06-24 15:04 UTC (permalink / raw)
  To: linux-arm-kernel

Both Tegra and i.MX provide ac97 operations, which can only
exist once in the kernel. They can both be built as loadable
modules (only one of them needs to be loaded anyway), but we
have to disallow enabling them both as built-in.

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

diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index 3843a18..5958948 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -99,6 +99,7 @@ endif # SND_POWERPC_SOC
 menuconfig SND_IMX_SOC
 	tristate "SoC Audio for Freescale i.MX CPUs"
 	depends on ARCH_MXC
+	depends on SND_SOC_TEGRA=n || (SND_SOC_TEGRA=m && m)
 	help
 	  Say Y or M if you want to add support for codecs attached to
 	  the i.MX CPUs.

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

end of thread, other threads:[~2013-06-25  9:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-24 15:04 [PATCH] ASoC: Tegra and i.MX are mutually exclusive Arnd Bergmann
2013-06-24 15:28 ` Stephen Warren
2013-06-24 16:00   ` Arnd Bergmann
2013-06-25  6:36 ` [alsa-devel] " Lars-Peter Clausen
2013-06-25  9:26   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).