diff options
author | Michael Strauss <michael.strauss@amd.com> | 2019-10-03 18:54:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-12 21:21:15 +0300 |
commit | 99d5f18cebbf3f01f269368923e9b9c3ac134700 (patch) | |
tree | 38e98507489b5fae86818b3594b7ed55572e61b8 /drivers/net/hyperv/netvsc_drv.c | |
parent | e5edbf9c45cec143526d9d1708d216228a197cd8 (diff) | |
download | linux-99d5f18cebbf3f01f269368923e9b9c3ac134700.tar.xz |
drm/amd/display: Passive DP->HDMI dongle detection fix
[ Upstream commit bc2fde42e2418808dbfc04de1a6da91d7d31cf1a ]
[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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/hyperv/netvsc_drv.c')
0 files changed, 0 insertions, 0 deletions