diff options
Diffstat (limited to 'sound/pci/hda/patch_intelhdmi.c')
-rw-r--r-- | sound/pci/hda/patch_intelhdmi.c | 2 |
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; |