diff options
author | Michael Strauss <michael.strauss@amd.com> | 2019-10-03 11:54:15 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-25 16:50:09 -0400 |
commit | 71fb7b2801a7fcea919c1e1da7fe2bf19b165f04 (patch) | |
tree | 4133e147d90ffde1217fdcca2edeb3cf57a1807e /sound/pci/ymfpci | |
parent | bf7f5ac3167a75f60c2f27f16613a6ab90e55908 (diff) |
drm/amd/display: Passive DP->HDMI dongle detection fix
[WHY]
i2c_read is called to differentiate passive DP->HDMI and DP->DVI-D dongles
The call is expected to fail in DVI-D case but pass in HDMI case
Some HDMI dongles have a chance to fail as well, causing misdetection as DVI-D
[HOW]
Retry i2c_read to ensure failed result is valid
Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'sound/pci/ymfpci')
0 files changed, 0 insertions, 0 deletions