summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_proc.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-12-11 12:28:34 +0800
committerTakashi Iwai <tiwai@suse.de>2009-12-11 07:56:04 +0100
commit728765b30a052317b6cb6111d4c4e66aba5c0099 (patch)
tree0eac7cbdc7bdc09d6d328b2adfb24b81ad25419f /sound/pci/hda/hda_proc.c
parentb923528ed29dc2d12832f76b1b9e05848d9de853 (diff)
downloadblackbird-obmc-linux-728765b30a052317b6cb6111d4c4e66aba5c0099.tar.gz
blackbird-obmc-linux-728765b30a052317b6cb6111d4c4e66aba5c0099.zip
ALSA: intelhdmi - accept DisplayPort pin
HDA036 spec states: DP (Display Port) indicates whether the Pin Complex Widget supports connection to a Display Port sink. Supported if set to 1. Note that it is possible for the pin widget to support more than one digital display connection type, e.g. HDMI and DP bit are both set to 1. Also export the DP pin cap in procfs. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_proc.c')
-rw-r--r--sound/pci/hda/hda_proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c
index 8d381c891001..c9afc04adac8 100644
--- a/sound/pci/hda/hda_proc.c
+++ b/sound/pci/hda/hda_proc.c
@@ -246,6 +246,8 @@ static void print_pin_caps(struct snd_info_buffer *buffer,
snd_iprintf(buffer, " HDMI");
}
}
+ if (caps & AC_PINCAP_DP)
+ snd_iprintf(buffer, " DP");
if (caps & AC_PINCAP_TRIG_REQ)
snd_iprintf(buffer, " Trigger");
if (caps & AC_PINCAP_IMP_SENSE)
OpenPOWER on IntegriCloud