From: YueHaibing Date: Thu, 22 Aug 2019 14:30:07 +0000 (+0800) Subject: ASoC: AMD: Fix Kconfig warning without GPIOLIB X-Git-Tag: v5.4-rc1~52^2~8^2~1^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ce6a624473e7e5752a84416f85f73d082308edd;p=platform%2Fkernel%2Flinux-rpi.git ASoC: AMD: Fix Kconfig warning without GPIOLIB While do rand build without GPIOLIB, we get Kconfig warning:\ WARNING: unmet direct dependencies detected for SND_SOC_MAX98357A Depends on [n]: SOUND [=y] && !UML && SND [=m] && SND_SOC [=m] && GPIOLIB [=n] Selected by [m]: - SND_SOC_AMD_CZ_DA7219MX98357_MACH [=m] && SOUND [=y] && !UML && SND [=m] && SND_SOC [=m] && SND_SOC_AMD_ACP [=m] && I2C [=y] Add GPIOLIB dependency to fix this. Reported-by: Hulk Robot Signed-off-by: YueHaibing Link: https://lore.kernel.org/r/20190822143007.73644-1-yuehaibing@huawei.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index 9ca9214..5f40517 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -10,7 +10,7 @@ config SND_SOC_AMD_CZ_DA7219MX98357_MACH select SND_SOC_MAX98357A select SND_SOC_ADAU7002 select REGULATOR - depends on SND_SOC_AMD_ACP && I2C + depends on SND_SOC_AMD_ACP && I2C && GPIOLIB help This option enables machine driver for DA7219 and MAX9835.