Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13c4f09d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: lpm-levels: Add support for CCI auto hardware clock gating"

parents d18f20ec 560abc36
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -225,7 +225,10 @@ int set_l2_mode(struct low_power_ops *ops, int mode, bool notify_rpm)

int set_cci_mode(struct low_power_ops *ops, int mode, bool notify_rpm)
{
	return msm_spm_config_low_power_mode(ops->spm, mode, notify_rpm);
	int lpm = mode;
	if (mode == MSM_SPM_MODE_CLOCK_GATING)
		lpm = MSM_SPM_MODE_DISABLED;
	return msm_spm_config_low_power_mode(ops->spm, lpm, notify_rpm);
}

static int cpu_power_select(struct cpuidle_device *dev,