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

Commit 8d490e71 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: lpm-levels: Use cpu_do_idle for shallower LPM entry"

parents 772cd214 eab4ca12
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-License-Identifier: GPL-2.0-only


/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com>
 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com>
 * Copyright (C) 2009 Intel Corporation
 * Copyright (C) 2009 Intel Corporation
 */
 */
@@ -1371,7 +1371,7 @@ static bool psci_enter_sleep(struct lpm_cpu *cpu, int idx, bool from_idle)
		if (cpu->bias)
		if (cpu->bias)
			biastimer_start(cpu->bias);
			biastimer_start(cpu->bias);
		stop_critical_timings();
		stop_critical_timings();
		wfi();
		cpu_do_idle();
		start_critical_timings();
		start_critical_timings();
		return true;
		return true;
	}
	}