drm/amd/powerplay: Fix CZ SMU firmware load check (v4)
authorTom St Denis <tom.stdenis@amd.com>
Fri, 26 Aug 2016 14:29:19 +0000 (10:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Aug 2016 21:54:42 +0000 (17:54 -0400)
commitb80b13f0cd775669828199ce9b3aee12b9cf8314
treedff7a78e0439caa0ecefc9af8572834cc290247b
parent95844d20ae024b5d553c9923a0d3145c3956bf69
drm/amd/powerplay:  Fix CZ SMU firmware load check (v4)

Remove an errant return in the middle of the check
function as well as check for success in the start
function.

(v2) Add return check to smu_load_fw()
(v3) Don't return early if SMU load check fails
(v4) No returns!  :-)

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c