diff options
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index a96403a828af..e68792311bb2 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c | |||
@@ -1561,10 +1561,7 @@ static bool hdmi_present_sense(struct hdmi_spec_per_pin *per_pin, int repoll) | |||
1561 | SNDRV_CTL_EVENT_MASK_VALUE | SNDRV_CTL_EVENT_MASK_INFO, | 1561 | SNDRV_CTL_EVENT_MASK_VALUE | SNDRV_CTL_EVENT_MASK_INFO, |
1562 | &per_pin->eld_ctl->id); | 1562 | &per_pin->eld_ctl->id); |
1563 | unlock: | 1563 | unlock: |
1564 | if ((codec->vendor_id & 0xffff0000) == 0x10020000) | 1564 | ret = !repoll || !pin_eld->monitor_present || pin_eld->eld_valid; |
1565 | ret = true; /* AMD codecs create ELD by itself */ | ||
1566 | else | ||
1567 | ret = !repoll || !pin_eld->monitor_present || pin_eld->eld_valid; | ||
1568 | 1565 | ||
1569 | jack = snd_hda_jack_tbl_get(codec, pin_nid); | 1566 | jack = snd_hda_jack_tbl_get(codec, pin_nid); |
1570 | if (jack) | 1567 | if (jack) |