[PATCH 3/3][next] ASoC: codecs: Modify error implicit declaration of function 'gpiod_set_value_cansleep'

wangweidong.a@awinic.com posted 3 patches 2 years, 7 months ago
[PATCH 3/3][next] ASoC: codecs: Modify error implicit declaration of function 'gpiod_set_value_cansleep'
Posted by wangweidong.a@awinic.com 2 years, 7 months ago
From: Weidong Wang <wangweidong.a@awinic.com>

Add select GPIOLIB to the sound/soc/codecs/Kconfig file

Signed-off-by: Ben Yi <yijiangtao@awinic.com>
Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index ab7b0696d01d..4621674e68bf 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -614,6 +614,7 @@ config SND_SOC_AW88395
 	select CRC8
 	select CRC32
 	select REGMAP_I2C
+	select GPIOLIB
 	select SND_SOC_AW88395_LIB
 	help
 	  this option enables support for aw88395 Smart PA.
-- 
2.39.1