summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2014-04-24 17:19:30 +0100
committerPawel Moll <pawel.moll@arm.com>2014-04-24 17:20:50 +0100
commitd08b80373cbb76c9b485b60d49fd3ba82abdf77c (patch)
tree79e58dc5a01b1a87719b374d59730d85f52fc149 /arch/arm
parentbb6dd5757c12e9f3f25da971f1ea45c777ae79ab (diff)
downloadop-kernel-dev-d08b80373cbb76c9b485b60d49fd3ba82abdf77c.zip
op-kernel-dev-d08b80373cbb76c9b485b60d49fd3ba82abdf77c.tar.gz
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>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud