drm/amd/powerplay: correct data type to avoid overflow
authorEvan Quan <evan.quan@amd.com>
Fri, 22 Mar 2019 18:02:24 +0000 (02:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Mar 2019 03:32:30 +0000 (22:32 -0500)
commitaaaba51bf1618958c91728607c63264655c545ef
treec0fd2b91ee31750f36df96e1eda1560586d563a7
parent6f5d29ff1a643d52128efb4b6c4f4d4074e32e10
drm/amd/powerplay: correct data type to avoid overflow

Avoid left shift overflow.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h