ASoC: simple-mux: Depend on gpiolib rather than selecting it

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>
This commit is contained in:
Mark Brown
2022-02-02 19:23:33 +00:00
parent 8e70aaae32
commit 805fff7501
+1 -1
View 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"