drm/amd/powerplay: fix amd_powerplay_reset()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 24 Oct 2017 09:44:18 +0000 (12:44 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Oct 2017 22:26:48 +0000 (18:26 -0400)
commit7265d50ea20f0dfe7e6d077a2feb50369773c090
tree541857840c485c64bcf62f94ddb4524b19ed9a5c
parent56e0349f384cbadf3b939cbcebe6e1560513246e
drm/amd/powerplay: fix amd_powerplay_reset()

We accidentally inverted an if statement and turned amd_powerplay_reset()
into a no-op.

Fixes: ae97988fc89e ("drm/amd/powerplay: tidy up ret checks in amd_powerplay.c (v3)")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c