ASoC: simple-mux: Depend on gpiolib rather than selecting it
authorMark Brown <broonie@kernel.org>
Wed, 2 Feb 2022 19:23:33 +0000 (19:23 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 8 Feb 2022 13:38:00 +0000 (13:38 +0000)
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>
Link: https://lore.kernel.org/r/20220202192333.3655269-7-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig

index 8a2e1c61f61616a48a36c1a7bf1d5d33f51f3578..0ef2cfe40723757217bc064ff76331f30872f3a3 100644 (file)
@@ -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"