commit | 75441d9d35f71123933eafa4dd55459403582add | [log] [tgz] |
---|---|---|
author | Mikita Lipski <mikita.lipski@amd.com> | Tue Nov 12 13:58:32 2019 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Dec 05 16:30:29 2019 -0500 |
tree | 00b636c313c914b888ea730edef8d2ad3c07ae44 | |
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>