commit | ed9ab229fea24cbcab17f484297dc8344afb7ea9 | [log] [tgz] |
---|---|---|
author | Tong Zhang <ztong0001@gmail.com> | Sun Aug 16 03:32:12 2020 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Aug 26 15:11:09 2020 -0400 |
tree | 45252940c59a34443154dd37380e11786b11e9f1 | |
parent | d012a7190fc1fd72ed48911e77ca97ba4521bccd [diff] |
drm/amd/display: should check error using DC_OK core_link_read_dpcd returns only DC_OK(1) and DC_ERROR_UNEXPECTED(-1), the caller should check error using DC_OK instead of checking against 0 Signed-off-by: Tong Zhang <ztong0001@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>