ASoC: fix SND_SOC_LOCHNAGAR_SC kconfig warning
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 27 Mar 2019 15:43:19 +0000 (08:43 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 2 Apr 2019 05:56:51 +0000 (12:56 +0700)
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@infradead.org>
Cc: Piotr Stankiewicz <piotrs@opensource.cirrus.com>
Cc: Charles Keepax <ckeepax@opensource.cirrus.com>
Cc: Richard Fitzgerald <rf@opensource.cirrus.com>
Cc: patches@opensource.cirrus.com
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig

index 419142111b6dee810b03a2f60f2e435fffa2b5c3..9981d40ef45b187e0b6b8ea61cfaf51a97da31f7 100644 (file)
@@ -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