drm/amdgpu: fix bug return invalid value to sysfs.
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 9 Jan 2017 07:18:01 +0000 (15:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:13:11 +0000 (11:13 -0500)
commit8e7afd34fd5fca66f59c959e0d97e57ad2c0b3ef
treec235fdacf1bc437aaf15a62d5162598b4c11fade
parentc79b55618a9c9fe2b8cd30ab2c9486d3ca3f1ff3
drm/amdgpu: fix bug return invalid value to sysfs.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c