drm/amdgpu: fix a reversed condition
authorRex Zhu <rex.zhu@amd.com>
Wed, 25 Jul 2018 03:51:46 +0000 (11:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Jul 2018 21:58:12 +0000 (16:58 -0500)
commitccf9ef0b0d10434dec5046bcfc4e834a7b1830fd
tree04ce161d443c4681d807f9bd53d4fe1c96fb1dbc
parent8a50bb47a863c3cb8950a2e810448c9a82a9d446
drm/amdgpu: fix a reversed condition

This test was reversed so it would end up leading to vddnb value
can't be read via hwmon on APU.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c