cpuidle: lpm-levels: Remove local_irq_enable from lpm_cpuidle_select
Remove enabling of interrupts in lpm_cpuidle_select in case of no low power mode selected as it is taken care in cpuidle_idle_call. Change-Id: Id9fabe6116908b4c64bd6659d02252684db10958 Signed-off-by: Srinivas Rao L <lsrao@codeaurora.org>
This commit is contained in:
parent
5f825416fb
commit
07314e73b3
1 changed files with 1 additions and 3 deletions
|
@ -841,10 +841,8 @@ static int lpm_cpuidle_enter(struct cpuidle_device *dev,
|
||||||
const struct cpumask *cpumask = get_cpu_mask(dev->cpu);
|
const struct cpumask *cpumask = get_cpu_mask(dev->cpu);
|
||||||
struct power_params *pwr_params;
|
struct power_params *pwr_params;
|
||||||
|
|
||||||
if (idx < 0) {
|
if (idx < 0)
|
||||||
local_irq_enable();
|
|
||||||
return -EPERM;
|
return -EPERM;
|
||||||
}
|
|
||||||
|
|
||||||
trace_cpu_idle_rcuidle(idx, dev->cpu);
|
trace_cpu_idle_rcuidle(idx, dev->cpu);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue