OSDN Git Service

ARM: OMAP4+: Fix bad fallthrough for cpuidle
authorTony Lindgren <tony@atomide.com>
Mon, 7 Nov 2016 23:50:11 +0000 (16:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jan 2017 12:42:57 +0000 (13:42 +0100)
commit87dbf3dc165240f1a3bed1ac7243a6b73c474029
treefa1cf25676d0335430d05f7155ef199c75a332b2
parentb336dc57bc927e0fb3e7d2591d70b9ec7e426e18
ARM: OMAP4+: Fix bad fallthrough for cpuidle

commit cbf2642872333547b56b8c4d943f5ed04ac9a4ee upstream.

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: 6099dd37c669 ("ARM: OMAP5 / DRA7: Enable CPU RET on suspend")
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-omap2/omap-mpuss-lowpower.c