diff options
author | 2020-08-16 03:32:12 -0400 | |
---|---|---|
committer | 2020-08-26 15:11:09 -0400 | |
commit | ed9ab229fea24cbcab17f484297dc8344afb7ea9 (patch) | |
tree | 45252940c59a34443154dd37380e11786b11e9f1 /tools/perf/scripts/python | |
parent | Linux 5.9-rc2 (diff) | |
download | linux-dev-ed9ab229fea24cbcab17f484297dc8344afb7ea9.tar.xz linux-dev-ed9ab229fea24cbcab17f484297dc8344afb7ea9.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions