drm/amdgpu/soc15: return proper error codes in baco reset
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 19:56:42 +0000 (14:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commit1f46df61a148da7263165079b4874d61525c8ae1
treea82063e3e68a608976b9fa304bc76b26763dc9c5
parent0982a8fc2a85ecac36901a27b7d8e29b2885d939
drm/amdgpu/soc15: return proper error codes in baco reset

Rather than just -1.

Reviewed-by: JimQu <Jim.Qu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c