ALSA: cs553*: Fix dependencies
authorJean Delvare <jdelvare@suse.de>
Mon, 10 Mar 2014 20:12:26 +0000 (21:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Mar 2014 06:53:36 +0000 (07:53 +0100)
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 <jdelvare@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/Kconfig

index 56d93bf..b2890e3 100644 (file)
@@ -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