Commit d5d8d837 authored by Mark Brown's avatar Mark Brown Committed by Takashi Iwai

ALSA: ASoC: Hide TLV320AIC26 configuration option for non-OpenFirwmare users

Make the visibility of the tristate conditional on having the OpenFirmware
helper code enabed so that users who can't use it don't see the visible
option. Kconfig ignores dependencies for select so other users are
unaffected.

Thanks to Takashi for the suggestion.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4aa02396
...@@ -68,7 +68,7 @@ config SND_SOC_TLV320AIC23 ...@@ -68,7 +68,7 @@ config SND_SOC_TLV320AIC23
depends on I2C depends on I2C
config SND_SOC_TLV320AIC26 config SND_SOC_TLV320AIC26
tristate "TI TLV320AIC26 Codec support" tristate "TI TLV320AIC26 Codec support" if SND_SOC_OF_SIMPLE
depends on SPI depends on SPI
config SND_SOC_TLV320AIC3X config SND_SOC_TLV320AIC3X
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment