diff options
| author | Michael Strauss <[email protected]> | 2019-10-03 11:54:15 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-25 16:50:09 -0400 |
| commit | 71fb7b2801a7fcea919c1e1da7fe2bf19b165f04 (patch) | |
| tree | 4133e147d90ffde1217fdcca2edeb3cf57a1807e /lib/string_helpers.c | |
| 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 <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions