Tony Lindgren 10a144b77f ARM: OMAP2+: Handle errors for cpu_pm
[ Upstream commit 55be2f50336f67800513b46c5ba6270e4ed0e784 ]

We need to check for errors when calling cpu_pm_enter() and
cpu_cluster_pm_enter(). And we need to bail out on errors as
otherwise we can enter a deeper idle state when not desired.

I'm not aware of the lack of error handling causing issues yet,
but we need this at least for blocking deeper idle states when
a GPIO instance has pending interrupts.

Cc: Dave Gerlach <d-gerlach@ti.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Keerthy <j-keerthy@ti.com>
Cc: Ladislav Michl <ladis@linux-mips.org>
Cc: Russell King <rmk+kernel@armlinux.org.uk>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20200304225433.37336-2-tony@atomide.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:17:39 +02:00
..
2019-09-03 22:09:46 +02:00
2019-09-30 10:04:28 -07:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2019-10-04 11:13:09 -07:00
2019-09-22 09:39:09 -07:00