ALSA: hda - Fix input and jack Kconfig depenencies
authorTakashi Iwai <tiwai@suse.de>
Sat, 21 Nov 2009 18:57:11 +0000 (19:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 21 Nov 2009 18:57:11 +0000 (19:57 +0100)
CONFIG_SND_JACK needs to be selected explicitly only when INPUT=y or
INPUT_SND.  The current way, INPUT=SND_HDA_INTEL isn't strict enough.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/Kconfig

index 25ae10e..556cff9 100644 (file)
@@ -51,7 +51,7 @@ config SND_HDA_INPUT_BEEP_MODE
 
 config SND_HDA_INPUT_JACK
        bool "Support jack plugging notification via input layer"
-       depends on INPUT=y || INPUT=SND_HDA_INTEL
+       depends on INPUT=y || INPUT=SND
        select SND_JACK
        help
          Say Y here to enable the jack plugging notification via