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)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:14:19 +0000 (13:14 +0000)
commitb3c9f931fe91972c185b89e4314337457a62be66
tree1a0df4ea23892ef567eb0c3b341da71bbb7ec0e2
parent33713443e95c33d9816d4a76134111bb69dc599f
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