mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 12:46:40 +07:00
ARM: OMAP4+: Fix bad fallthrough for cpuidle
We don't want to fall through to a bunch of errors for retention
if PM_OMAP4_CPU_OSWR_DISABLE is not configured for a SoC.
Fixes: 6099dd37c6
("ARM: OMAP5 / DRA7: Enable CPU RET on suspend")
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
8a8be46afe
commit
cbf2642872
@ -245,10 +245,9 @@ int omap4_enter_lowpower(unsigned int cpu, unsigned int power_state)
|
|||||||
save_state = 1;
|
save_state = 1;
|
||||||
break;
|
break;
|
||||||
case PWRDM_POWER_RET:
|
case PWRDM_POWER_RET:
|
||||||
if (IS_PM44XX_ERRATUM(PM_OMAP4_CPU_OSWR_DISABLE)) {
|
if (IS_PM44XX_ERRATUM(PM_OMAP4_CPU_OSWR_DISABLE))
|
||||||
save_state = 0;
|
save_state = 0;
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
/*
|
/*
|
||||||
* CPUx CSWR is invalid hardware state. Also CPUx OSWR
|
* CPUx CSWR is invalid hardware state. Also CPUx OSWR
|
||||||
|
Loading…
Reference in New Issue
Block a user