drm/amdgpu/powerplay: fix warning in smu_v11_0.c
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jan 2020 20:41:10 +0000 (15:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jan 2020 15:18:09 +0000 (10:18 -0500)
commit40c9e7b5783c99bb65ab0f81ccedba783f8ffb3b
tree88232093b1db79e21f5e3ea0837b7a32d3f9d3af
parentb1ffd1e309c7b75b193ac934296f68ef8ce6f5c0
drm/amdgpu/powerplay: fix warning in smu_v11_0.c

Cast to make min() happy.  The values are well within
range.

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