Gregory CLEMENT 43b68879de cpuidle: mvebu: Fix the CPU PM notifier usage
As stated in kernel/cpu_pm.c, "Platform is responsible for ensuring
that cpu_pm_enter is not called twice on the same CPU before
cpu_pm_exit is called.". In the current code in case of failure when
calling mvebu_v7_cpu_suspend, the function cpu_pm_exit() is never
called whereas cpu_pm_enter() was called just before.

This patch moves the cpu_pm_exit() in order to balance the
cpu_pm_enter() calls.

Cc: stable@vger.kernel.org
Reported-by: Fulvio Benini <fbf@libero.it>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2015-03-13 18:26:06 +01:00
..
2015-03-06 01:29:16 +01:00
2015-02-17 09:27:54 -08:00
2015-02-19 20:58:42 -06:00
2015-02-25 11:38:46 +11:00
2015-02-18 09:05:48 -08:00
2015-02-18 08:01:44 -08:00
2015-02-18 09:43:46 -08:00
2015-02-17 09:38:59 -08:00
2015-02-18 08:40:29 +01:00
2015-02-18 09:05:48 -08:00
2015-03-06 01:29:05 +01:00
2015-02-21 19:16:42 -08:00
2015-02-17 09:38:59 -08:00
2015-03-08 12:25:40 -07:00
2015-03-08 12:47:18 -07:00