diff mbox series

[v1,4/6] ASoC: max9759: Remove spurious gpiolib select

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

Commit Message

Mark Brown Feb. 2, 2022, 7:23 p.m. UTC
The usage of GPIOs is optional in the code so don't force on gpiolib when
building it, avoiding warnings in randconfigs.

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 54eb6005f99c..cee4330fce93 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1912,7 +1912,7 @@  config SND_SOC_LM4857
 
 config SND_SOC_MAX9759
 	tristate "Maxim MAX9759 speaker Amplifier"
-	select GPIOLIB
+	depends on GPIOLIB
 
 config SND_SOC_MAX9768
 	tristate