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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Oct 2016 13:23:43 +0000 (15:23 +0200)
commit0338bbade6c1b1e6524c7e74113e55043892049b
treeb868f98a6e1257bf268dc6b5ab1877836e126abc
parent63d32e3560bf313f84c66163fe0c6c088883d527
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-sa1100/generic.c