Commit 9f7aab6f authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher
Browse files

drm/amd/powerplay: fix the incorrect checking condition

parent 54c825a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4170,7 +4170,7 @@ int iceland_unforce_dpm_levels(struct pp_hwmgr *hwmgr)
								return -1);
	}

	if (0 == data->pcie_dpm_key_disabled) {
	if (0 == data->mclk_dpm_key_disabled) {
		PP_ASSERT_WITH_CODE((0 == smum_send_msg_to_smc(
							     hwmgr->smumgr,
					PPSMC_MSG_MCLKDPM_NoForcedLevel)),