ARM: sa1100: clear reset status prior to reboot
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 19 Aug 2016 15:34:45 +0000 (16:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Feb 2017 22:32:53 +0000 (23:32 +0100)
commit5b4918cca9112e9baef39f8f84b8d41653c8c959
tree82efa9221827aa45be9e2f31e231a2414d869872
parent1774ca81558342676be0ae3c88008db5a01153c2
ARM: sa1100: clear reset status prior to reboot

commit da60626e7d02a4f385cae80e450afc8b07035368 upstream.

Clear the current reset status prior to rebooting the platform.  This
adds the bit missing from 04fef228fb00 ("[ARM] pxa: introduce
reset_status and clear_reset_status for driver's usage").

Fixes: 04fef228fb00 ("[ARM] pxa: introduce reset_status and clear_reset_status for driver's usage")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Willy Tarreau <w@1wt.eu>
arch/arm/mach-sa1100/generic.c