Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132731
b: refs/heads/master
c: d506fc3
h: refs/heads/master
i:
  132729: 5d1ba15
  132727: cea6dee
v: v3
  • Loading branch information
Jani Nikula authored and Mark Brown committed Jan 7, 2009
1 parent 6760634 commit d1b4c59
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bd8a71a7b0f50da9350d202d325c3926ffd6b189
refs/heads/master: d506fc322ec2af04fc47be83d796a1c9e1a16022
1 change: 1 addition & 0 deletions trunk/include/linux/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ struct input_absinfo {
#define SW_DOCK 0x05 /* set = plugged into dock */
#define SW_LINEOUT_INSERT 0x06 /* set = inserted */
#define SW_JACK_PHYSICAL_INSERT 0x07 /* set = mechanical switch set */
#define SW_VIDEOOUT_INSERT 0x08 /* set = inserted */
#define SW_MAX 0x0f
#define SW_CNT (SW_MAX+1)

Expand Down
2 changes: 2 additions & 0 deletions trunk/include/sound/jack.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ enum snd_jack_types {
SND_JACK_HEADSET = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE,
SND_JACK_LINEOUT = 0x0004,
SND_JACK_MECHANICAL = 0x0008, /* If detected separately */
SND_JACK_VIDEOOUT = 0x0010,
SND_JACK_AVOUT = SND_JACK_LINEOUT | SND_JACK_VIDEOOUT,
};

struct snd_jack {
Expand Down
1 change: 1 addition & 0 deletions trunk/sound/core/jack.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ static int jack_types[] = {
SW_MICROPHONE_INSERT,
SW_LINEOUT_INSERT,
SW_JACK_PHYSICAL_INSERT,
SW_VIDEOOUT_INSERT,
};

static int snd_jack_dev_free(struct snd_device *device)
Expand Down

0 comments on commit d1b4c59

Please sign in to comment.