aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2011-10-05 09:53:25 -0400
committerTakashi Iwai <tiwai@suse.de>2011-10-05 11:22:04 -0400
commit7c2f8e4009d4b66c8458e3a5c20510b4262853bb (patch)
tree5958ddebda59e7822890f66275787d134fa1543b /sound/core
parent48718eab5a719cb537466124d9585b3066e27fae (diff)
ALSA: jack - Add "Line In" input jack constants
Similar to Line Out, these constants form the base for future patches enabling input jack reporting for Line in jacks. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/jack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/jack.c b/sound/core/jack.c
index 53b53e97c896..240a3e13470d 100644
--- a/sound/core/jack.c
+++ b/sound/core/jack.c
@@ -30,6 +30,7 @@ static int jack_switch_types[] = {
30 SW_LINEOUT_INSERT, 30 SW_LINEOUT_INSERT,
31 SW_JACK_PHYSICAL_INSERT, 31 SW_JACK_PHYSICAL_INSERT,
32 SW_VIDEOOUT_INSERT, 32 SW_VIDEOOUT_INSERT,
33 SW_LINEIN_INSERT,
33}; 34};
34 35
35static int snd_jack_dev_free(struct snd_device *device) 36static int snd_jack_dev_free(struct snd_device *device)