From: Jean Delvare Date: Mon, 10 Mar 2014 20:12:26 +0000 (+0100) Subject: ALSA: cs553*: Fix dependencies X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5be50ac26635ba64339912943a88899a1f55f8e6;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ALSA: cs553*: Fix dependencies The CS5530, CS5535 and CS5536 chipsets are companions of the Geode series of processors, which are 32-bit x86 processors. So the snd-cs5530 and snd-cs5535audio drivers are only needed on this architecture, except for build testing purpose. Signed-off-by: Jean Delvare Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/Kconfig b/sound/pci/Kconfig index 56d93bf45025..b2890e3f2787 100644 --- a/sound/pci/Kconfig +++ b/sound/pci/Kconfig @@ -276,7 +276,7 @@ config SND_CS46XX_NEW_DSP config SND_CS5530 tristate "CS5530 Audio" - depends on ISA_DMA_API + depends on ISA_DMA_API && (X86_32 || COMPILE_TEST) select SND_SB16_DSP help Say Y here to include support for audio on Cyrix/NatSemi CS5530 chips. @@ -286,6 +286,7 @@ config SND_CS5530 config SND_CS5535AUDIO tristate "CS5535/CS5536 Audio" + depends on X86_32 || COMPILE_TEST select SND_PCM select SND_AC97_CODEC help