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

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

Merge "drivers: cpuidle: lpm-levels: Fix round off error in calculation"

parents fe6475ad b9521b9a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -663,8 +663,8 @@ static int cluster_configure(struct lpm_cluster *cluster, int idx,
			goto failed_set_mode;
		}

		us = us + 1;
		do_div(us, USEC_PER_SEC/SCLK_HZ);
		us = (us + 1) * 1000;
		do_div(us, NSEC_PER_SEC/SCLK_HZ);
		msm_mpm_enter_sleep(us, from_idle, cpumask);

		if (cluster->no_saw_devices && !use_psci)