diff options
author | David Henningsson <david.henningsson@canonical.com> | 2011-05-19 11:46:03 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-19 12:00:50 +0200 |
commit | 07acecc11139efbc8d0401576e81dc8c188cb092 (patch) | |
tree | 42c715f830606ef6698da60cea42733cc013e2ee /sound/pci/hda/hda_codec.c | |
parent | b896b4ebf0c136b51b184ea9f39247701e332005 (diff) |
ALSA: HDA: Add jack detection for HDMI
Just as for headphones and microphone jacks, this patch adds reporting
of HDMI jack status through the input layer.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index c63f376ba9ab..8edd998509f7 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -5055,6 +5055,8 @@ static const char *get_jack_default_name(struct hda_codec *codec, hda_nid_t nid, return "Line-out"; case SND_JACK_HEADSET: return "Headset"; + case SND_JACK_VIDEOOUT: + return "HDMI/DP"; default: return "Misc"; } |