linux-IllusionX/sound
Necip Fazil Yildiran 50b18e4a26
ASoC: cros_ec_codec: fix kconfig dependency warning for SND_SOC_CROS_EC_CODEC
When SND_SOC_CROS_EC_CODEC is enabled and CRYPTO is disabled, it results
in the following Kbuild warning:

WARNING: unmet direct dependencies detected for CRYPTO_LIB_SHA256
  Depends on [n]: CRYPTO [=n]
  Selected by [y]:
  - SND_SOC_CROS_EC_CODEC [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && CROS_EC [=y]

The reason is that SND_SOC_CROS_EC_CODEC selects CRYPTO_LIB_SHA256 without
depending on or selecting CRYPTO while CRYPTO_LIB_SHA256 is subordinate to
CRYPTO.

Honor the kconfig menu hierarchy to remove kconfig dependency warnings.

Fixes: 93fa0af479 ("ASoC: cros_ec_codec: switch to library API for SHA-256")
Signed-off-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Link: https://lore.kernel.org/r/20200917141803.92889-1-fazilyildiran@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-09-22 16:04:21 +01:00
..
ac97
aoa
arm
atmel
core ALSA: core: convert tasklets to use new tasklet_setup() API 2020-09-02 13:23:52 +02:00
drivers sound updates for 5.9 2020-08-06 14:27:31 -07:00
firewire ALSA: firewire: convert tasklets to use new tasklet_setup() API 2020-09-02 13:24:14 +02:00
hda ASoC: hdac: make SOF HDA codec driver probe deterministic 2020-09-21 23:57:24 +01:00
i2c
isa sound fixes for 5.9-rc2 2020-08-21 10:07:54 -07:00
mips
oss
parisc
pci ALSA: hdsp: convert tasklets to use new tasklet_setup() API 2020-09-02 13:25:23 +02:00
pcmcia
ppc
sh
soc ASoC: cros_ec_codec: fix kconfig dependency warning for SND_SOC_CROS_EC_CODEC 2020-09-22 16:04:21 +01:00
sparc
spi
synth
usb ALSA: ua101: convert tasklets to use new tasklet_setup() API 2020-09-02 13:27:07 +02:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c