]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf8a0e6b8de8e3877562f82ae324c9fd26e0b60c1
tree04ce161d443c4681d807f9bd53d4fe1c96fb1dbc
parent92bdade55a45f4e30868913123e1112b713f6948
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