diff options
author | 2019-11-12 13:58:32 -0500 | |
---|---|---|
committer | 2019-12-05 16:30:29 -0500 | |
commit | 75441d9d35f71123933eafa4dd55459403582add (patch) | |
tree | 00b636c313c914b888ea730edef8d2ad3c07ae44 /tools/perf/scripts/python/stackcollapse.py | |
parent | drm/amd/display: Save/restore link setting for disable phy when link retraining (diff) | |
download | linux-dev-75441d9d35f71123933eafa4dd55459403582add.tar.xz linux-dev-75441d9d35f71123933eafa4dd55459403582add.zip |
drm/amd/display: Return a correct error value
[why]
The function is expected to return instance of the timing generator
therefore we shouldn't be returning boolean in integer function,
and we shouldn't be returning zero so changing it to -1.
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions