commit | b1814a1def0564a2a1d3be7fa5bf7243ff899a28 | [log] [tgz] |
---|---|---|
author | Rex Zhu <Rex.Zhu@amd.com> | Tue Jul 05 19:18:15 2016 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Jul 07 15:06:24 2016 -0400 |
tree | 475fe063c8f004da0e87ce4e4a80aeb2a1aeacae | |
parent | ccdbb20a75e3e3917f327a185c1a45722b5d359f [diff] |
drm/amd/powerplay: don't add invalid voltage. if atomctrl_get_voltage_evv_on_sclk_ai returns non zero (fail) in the expansion of the PP_ASSERT_WITH_CODE macro the continue will actually do nothing, So invalid voltage will be added to ppbable. 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>