Subject: [PATCH 08/21] OMAP3+: Smartreflex: Add a shutdown hook

From: [email-masked] (Sergei Shtylyov)
Date: Thu, 26 Jan 2012 15:21:41 +0400

Hello.

On 25-01-2012 19:16, Jean Pihet wrote:

> From: Nishanth Menon<[email-masked]>

> Since OMAP's VP and PRM modules do not get reset by warm reset,
> we should ensure that proper shutdown procedure is followed prior
> to allowing the kernel to reboot back up.
>
> Without this patch, Smartreflex module might be left active or
> system might be caught in an indeterminate sequence when reboot
> is triggered, leaving the next reboot behavior to be unpredictable.

> Change-Id: I7f8c66cc45f8785394cce1fdde3cfda15ecc1fbc

    This line has no place in the upstream patch, please remove it.

> Signed-off-by: Nishanth Menon<[email-masked]>
> Signed-off-by: Jean Pihet<[email-masked]>
> ---
>   arch/arm/mach-omap2/smartreflex.c |   24 ++++++++++++++++++++++++
>   1 files changed, 24 insertions(+), 0 deletions(-)

WBR, Sergei