diff mbox series

[v1,6/6] ASoC: simple-mux: Depend on gpiolib rather than selecting it

Message ID 20220202192333.3655269-7-broonie@kernel.org
State Accepted
Commit 805fff750107bce59f769a54f77205a8c4c37705
Headers show
Series ASoC: Fix gpiolib dependencies | expand

Commit Message

Mark Brown Feb. 2, 2022, 7:23 p.m. UTC
The simple-mux driver requires gpiolib. Currently it selects GPIOLIB but
since the use of select can lead to issues with randconfig let's instead
depend on GPIOLIB, select is more idiomatically used for Kconfig symbols
that are not user selectable but GPIOLIB is user selectable.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 8a2e1c61f616..0ef2cfe40723 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1394,7 +1394,7 @@  config SND_SOC_SIMPLE_AMPLIFIER
 
 config SND_SOC_SIMPLE_MUX
 	tristate "Simple Audio Mux"
-	select GPIOLIB
+	depends on GPIOLIB
 
 config SND_SOC_SPDIF
 	tristate "S/PDIF CODEC"