drm/amd/powerplay: refine code to avoid potential bug that the memory not cleared.
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 6 Feb 2017 04:58:57 +0000 (12:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Feb 2017 15:54:08 +0000 (10:54 -0500)
commit4d8d44c6ce8ce3c01f4dcc18fdaf542e0d16df45
treeecd2facfc967d57b33bab4a8f537e6235009b354
parent31bb90f1cd084e0ca1359455eaf74bb64b5c5c82
drm/amd/powerplay: refine code to avoid potential bug that the memory not cleared.

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/powerplay/hwmgr/smu7_hwmgr.c