drm/amdgpu/display: return proper error codes in dm
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Sep 2018 16:01:28 +0000 (11:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 14:38:07 +0000 (09:38 -0500)
commit59d0f396b5abfb5ec4dbf3488cb4f24dc7c1aaf4
tree5168d579a3fe0f58e2faaede66fcc23f35c955ba
parent741deade2a704a434bd5939118c43d38e9ddac25
drm/amdgpu/display: return proper error codes in dm

Replace -1 with proper error codes.

Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c