diff options
author | Mikita Lipski <mikita.lipski@amd.com> | 2019-11-12 13:58:32 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-05 16:30:29 -0500 |
commit | 75441d9d35f71123933eafa4dd55459403582add (patch) | |
tree | 00b636c313c914b888ea730edef8d2ad3c07ae44 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 99218d122a2b329c179cc6917836068da3c3e1ad (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions