]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: AMD: Fix Kconfig warning without GPIOLIB
authorYueHaibing <yuehaibing@huawei.com>
Thu, 22 Aug 2019 14:30:07 +0000 (22:30 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 22 Aug 2019 17:23:23 +0000 (18:23 +0100)
commit0ce6a624473e7e5752a84416f85f73d082308edd
tree047fa8c3e0e1f8636cef194c7fbd1bf5b69a2cca
parent0f6fc97501b790c971b11b52a654009d21c45238
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 <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190822143007.73644-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/Kconfig