drm/amdgpu/powerplay: fix return codes in BACO code
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Feb 2019 22:14:36 +0000 (17:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Feb 2019 20:33:50 +0000 (15:33 -0500)
commit41d3ae4b9ab720e4b3a1f220f1c9a882d3c94123
tree77ca6da40591335207d14585ee82464405b1770b
parent94b94438120306850289558efe1eaef0a1eec403
drm/amdgpu/powerplay: fix return codes in BACO code

Use a proper return code rather than -1.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_baco.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_baco.c