aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/Kconfig
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-07-28 14:05:36 -0400
committerJaroslav Kysela <perex@perex.cz>2008-07-29 15:32:06 -0400
commit0d94e41abe271c86df06bcf72d24f9ca7ce771f0 (patch)
tree6810d9b350d2fc8b0579d082206587f07bea5d96 /sound/core/Kconfig
parente76d8ceaaff9d7fc1ba2b1963a9f34151832223b (diff)
ALSA: Build jack detection
Since jack detection requires the input subsystem which may not be desired on small systems it is not built unless required by a driver that is being built. Drivers using jack detection should use a pattern like this: config SND_FOO tristate "..." ... select SND_JACK if INPUT=y || INPUT=SND to ensure that the jack detection API is enabled if the input subsystem is. If the input subsystem is not enabled then a stub version of the API is provided. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/core/Kconfig')
-rw-r--r--sound/core/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/core/Kconfig b/sound/core/Kconfig
index 335d45ecde6a..9c4da1cd4a6b 100644
--- a/sound/core/Kconfig
+++ b/sound/core/Kconfig
@@ -12,6 +12,12 @@ config SND_HWDEP
12config SND_RAWMIDI 12config SND_RAWMIDI
13 tristate 13 tristate
14 14
15# To be effective this also requires INPUT - users should say:
16# select SND_JACK if INPUT=y || INPUT=SND
17# to avoid having to force INPUT on.
18config SND_JACK
19 bool
20
15config SND_SEQUENCER 21config SND_SEQUENCER
16 tristate "Sequencer support" 22 tristate "Sequencer support"
17 select SND_TIMER 23 select SND_TIMER