aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_intelhdmi.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-12-10 23:28:34 -0500
committerTakashi Iwai <tiwai@suse.de>2009-12-11 01:56:04 -0500
commit728765b30a052317b6cb6111d4c4e66aba5c0099 (patch)
tree0eac7cbdc7bdc09d6d328b2adfb24b81ad25419f /sound/pci/hda/patch_intelhdmi.c
parentb923528ed29dc2d12832f76b1b9e05848d9de853 (diff)
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/patch_intelhdmi.c')
-rw-r--r--sound/pci/hda/patch_intelhdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_intelhdmi.c b/sound/pci/hda/patch_intelhdmi.c
index 928df59be5d8..742f15eb3331 100644
--- a/sound/pci/hda/patch_intelhdmi.c
+++ b/sound/pci/hda/patch_intelhdmi.c
@@ -344,7 +344,7 @@ static int intel_hdmi_parse_codec(struct hda_codec *codec)
344 break; 344 break;
345 case AC_WID_PIN: 345 case AC_WID_PIN:
346 caps = snd_hda_param_read(codec, nid, AC_PAR_PIN_CAP); 346 caps = snd_hda_param_read(codec, nid, AC_PAR_PIN_CAP);
347 if (!(caps & AC_PINCAP_HDMI)) 347 if (!(caps & (AC_PINCAP_HDMI | AC_PINCAP_DP)))
348 continue; 348 continue;
349 if (intel_hdmi_add_pin(codec, nid) < 0) 349 if (intel_hdmi_add_pin(codec, nid) < 0)
350 return -EINVAL; 350 return -EINVAL;