From ee235fdde0742b652a3f2b9cfdca6dfc151efb2c Mon Sep 17 00:00:00 2001 From: Kasin Lee Date: Mon, 28 Jul 2014 13:28:37 +0800 Subject: [PATCH] PD #00001: fix warning Change-Id: I4f6b8413dc458805919d3370c80bf9a53de4c6e2 --- mali/common/mali_pmu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mali/common/mali_pmu.c b/mali/common/mali_pmu.c index fc0d76a..34165b7 100755 --- a/mali/common/mali_pmu.c +++ b/mali/common/mali_pmu.c @@ -160,14 +160,13 @@ static _mali_osk_errcode_t mali_pmu_power_up_internal(struct mali_pmu_core *pmu, #else active_mask = mask & stat; mask_ck = active_mask; + swt_dly = 0xfff; for (current_domain = 1; current_domain <= pmu->registered_cores_mask; current_domain <<= 1) { if (current_domain & active_mask) { if (mask_ck == 1) { swt_dly = pmu->switch_delay; xxd = 0; } - else - swt_dly = 0xfff; mali_hw_core_register_write_relaxed(&pmu->hw_core, PMU_REG_ADDR_MGMT_SW_DELAY, swt_dly); mali_hw_core_register_write(&pmu->hw_core, PMU_REG_ADDR_MGMT_POWER_UP, current_domain); -- 2.20.1