[alsa-devel] [PATCH -next] ASoC: fix SND_SOC_LOCHNAGAR_SC kconfig warning

Randy Dunlap rdunlap at infradead.org
Wed Mar 27 16:43:19 CET 2019


From: Randy Dunlap <rdunlap at infradead.org>

Fix kconfig warning for SND_SOC_LOCHNAGAR_SC:

WARNING: unmet direct dependencies detected for SND_SOC_LOCHNAGAR_SC
  Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=m] && MFD_LOCHNAGAR [=n]
  Selected by [m]:
  - SND_SOC_ALL_CODECS [=m] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=m] && COMPILE_TEST [=y]

Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
Cc: Piotr Stankiewicz <piotrs at opensource.cirrus.com>
Cc: Charles Keepax <ckeepax at opensource.cirrus.com>
Cc: Richard Fitzgerald <rf at opensource.cirrus.com>
Cc: patches at opensource.cirrus.com
Cc: Liam Girdwood <lgirdwood at gmail.com>
Cc: Mark Brown <broonie at kernel.org>
Cc: alsa-devel at alsa-project.org
---
 sound/soc/codecs/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20190327.orig/sound/soc/codecs/Kconfig
+++ linux-next-20190327/sound/soc/codecs/Kconfig
@@ -94,7 +94,7 @@ config SND_SOC_ALL_CODECS
 	select SND_SOC_JZ4725B_CODEC
 	select SND_SOC_LM4857 if I2C
 	select SND_SOC_LM49453 if I2C
-	select SND_SOC_LOCHNAGAR_SC
+	select SND_SOC_LOCHNAGAR_SC if MFD_LOCHNAGAR
 	select SND_SOC_MAX98088 if I2C
 	select SND_SOC_MAX98090 if I2C
 	select SND_SOC_MAX98095 if I2C




More information about the Alsa-devel mailing list