drm/amd/powerplay: fix typo on avfs disable

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Evan Quan 2017-09-30 09:13:47 +08:00 committed by Alex Deucher
parent 5f628d997d
commit de19603691

View File

@ -2364,7 +2364,7 @@ static int vega10_avfs_enable(struct pp_hwmgr *hwmgr, bool enable)
} else { } else {
PP_ASSERT_WITH_CODE(!vega10_enable_smc_features(hwmgr, PP_ASSERT_WITH_CODE(!vega10_enable_smc_features(hwmgr,
false, false,
data->smu_features[GNLD_AVFS].smu_feature_id), data->smu_features[GNLD_AVFS].smu_feature_bitmap),
"[avfs_control] Attempt to Disable AVFS feature Failed!", "[avfs_control] Attempt to Disable AVFS feature Failed!",
return -1); return -1);
data->smu_features[GNLD_AVFS].enabled = false; data->smu_features[GNLD_AVFS].enabled = false;