drm/amd/pp: Fix uninitialized variable
authorRajan Vaja <rajan.vaja@gmail.com>
Mon, 18 Jun 2018 07:31:02 +0000 (13:01 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Jun 2018 17:42:50 +0000 (12:42 -0500)
commit91c822c33066b7c4f8cc47d7532f47e3bb89979b
tree6fd91e8f0c1955f29d96476d49980c97d7a0c731
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
drm/amd/pp: Fix uninitialized variable

Initialize variable to 0 before performing logical OR operation.

Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Rajan Vaja <rajan.vaja@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c