[alsa-devel] [PATCH] ASoC: omap: N810: Don't select CONFIG_OMAP_MUX but make it as dependency

Jarkko Nikula jhnikula at gmail.com
Wed Dec 1 10:01:20 CET 2010

Not all omap boards use kernel based pin multiplexing so
CONFIG_SND_OMAP_SOC_N810 should not select it by default as it can make
harm to other boards in multi-board kernels.

Therefore put CONFIG_OMAP_MUX as a dependency to N810 ASoC machine driver.

Thanks to Tony Lindgren <tony at atomide.com> for noticing.

Signed-off-by: Jarkko Nikula <jhnikula at gmail.com>
Cc: Tony Lindgren <tony at atomide.com>
 sound/soc/omap/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig
index d542ea2..a088db6 100644
--- a/sound/soc/omap/Kconfig
+++ b/sound/soc/omap/Kconfig
@@ -12,8 +12,8 @@ config SND_OMAP_SOC_MCPDM
 config SND_OMAP_SOC_N810
 	tristate "SoC Audio support for Nokia N810"
 	depends on SND_OMAP_SOC && MACH_NOKIA_N810 && I2C
+	depends on OMAP_MUX
-	select OMAP_MUX
 	select SND_SOC_TLV320AIC3X
 	  Say Y if you want to add support for SoC audio on Nokia N810.

More information about the Alsa-devel mailing list