[alsa-devel] [PATCH] ASoC: omap: Make RX51 depend on GPIOLIB due to jack usage

Mark Brown broonie at kernel.org
Tue Jan 21 00:00:01 CET 2014

From: Mark Brown <broonie at linaro.org>

Since the GPIO jacks are only supported if gpiolib is built and fail to
compile otherwise add a build depedency.  This is unlikely to have any
practical impact outside of coverage testing.

Reported-by: Russell King <linux at arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie at linaro.org>
 sound/soc/omap/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig
index 4a07f7179690..22ad9c5654b5 100644
--- a/sound/soc/omap/Kconfig
+++ b/sound/soc/omap/Kconfig
@@ -30,6 +30,7 @@ config SND_OMAP_SOC_RX51
 	select SND_SOC_TLV320AIC3X
 	select SND_SOC_TPA6130A2
+	depends on GPIOLIB
 	  Say Y if you want to add support for SoC audio on Nokia RX-51
 	  hardware. This is also known as Nokia N900 product.

More information about the Alsa-devel mailing list