linux/drivers/power/reset
Pawel Moll d08b80373c power/reset: vexpress: Fix restart/power off operation
The restart/power off implementation in the vexpress driver
used to obtain the config function when necessary. This was
wrong in two respects:

1. It required memory allocation with disabled interrupts
(it worked, but lockdep - when enabled - reported warnings).

2. Used jiffies-based timeout, while jiffies are not running
at this stage of system shutdown (therefore a config
transaction error - if happened - would have never be reported).

Fixed by pre-allocating the config function per device
and using mdelay for timeout.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
2014-04-24 17:20:50 +01:00
..
as3722-poweroff.c power: reset: Add as3722 power-off driver 2013-12-23 17:20:37 -08:00
gpio-poweroff.c ARM: arm-soc fixes for 3.8-rc 2013-01-08 18:53:56 -08:00
Kconfig power: reset: msm - switch Kconfig to ARCH_QCOM depends 2014-02-12 11:19:58 -06:00
Makefile power: reset: Add as3722 power-off driver 2013-12-23 17:20:37 -08:00
msm-poweroff.c power: reset: Add msm restart support 2013-08-09 11:47:53 -07:00
qnap-poweroff.c Power: Reset: Generalize qnap-poweroff to work on Synology devices. 2014-03-04 03:48:41 +00:00
restart-poweroff.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
vexpress-poweroff.c power/reset: vexpress: Fix restart/power off operation 2014-04-24 17:20:50 +01:00
xgene-reboot.c power: Add APM X-Gene system reboot driver 2013-08-09 14:28:17 -07:00