mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge "drivers: lpm-levels: Use cpu_do_idle for shallower LPM entry"
This commit is contained in:
commit
6fe62bb042
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// 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) 2009 Intel Corporation
|
||||
*/
|
||||
|
|
@ -1118,7 +1118,7 @@ static bool psci_enter_sleep(struct lpm_cpu *cpu, int idx, bool from_idle)
|
|||
|
||||
if (!idx) {
|
||||
stop_critical_timings();
|
||||
wfi();
|
||||
cpu_do_idle();
|
||||
start_critical_timings();
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue