linux-stable/drivers/power
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
..
avs
reset power/reset: vexpress: Fix restart/power off operation 2014-04-24 17:20:50 +01:00
88pm860x_battery.c
88pm860x_charger.c
ab8500_bmdata.c
ab8500_btemp.c
ab8500_charger.c
ab8500_fg.c
abx500_chargalg.c
apm_power.c
bq27x00_battery.c
bq2415x_charger.c bq2415x_charger: Add DT support 2013-12-23 18:21:32 -08:00
bq24190_charger.c
bq24735-charger.c
charger-manager.c charger-manager: of_cm_parse_desc() should be static 2013-12-23 18:21:35 -08:00
collie_battery.c
da9030_battery.c
da9052-battery.c
ds2760_battery.c
ds2780_battery.c
ds2781_battery.c
ds2782_battery.c power: ds2782_battery: Typo in comment 2014-01-25 15:24:15 +04:00
generic-adc-battery.c
goldfish_battery.c
gpio-charger.c gpio-charger: Support wakeup events 2013-12-23 18:54:03 -08:00
intel_mid_battery.c
isp1704_charger.c isp1704_charger: remove useless check in isp1704_charger_probe() 2014-01-25 15:24:15 +04:00
jz4740-battery.c
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-01-25 11:17:34 -08:00
lp8727_charger.c
lp8788-charger.c
Makefile power_supply: Add charger support for Maxim 14577 2013-12-23 18:52:19 -08:00
max8903_charger.c
max8925_power.c
max8997_charger.c
max8998_charger.c
max14577_charger.c power_supply: Add charger support for Maxim 14577 2013-12-23 18:52:19 -08:00
max17040_battery.c power: max17040: Fix NULL pointer dereference when there is no platform_data 2014-02-01 20:11:32 +04:00
max17042_battery.c max17042_battery: Add IRQF_ONESHOT flag to use default irq handler 2013-12-23 18:59:41 -08:00
olpc_battery.c
pcf50633-charger.c
pda_power.c
pm2301_charger.c
pm2301_charger.h
pmu_battery.c
power_supply.h
power_supply_core.c power_supply: Add power_supply_get_by_phandle 2013-12-23 18:21:11 -08:00
power_supply_leds.c
power_supply_sysfs.c
rx51_battery.c
s3c_adc_battery.c
sbs-battery.c
smb347-charger.c
test_power.c
tosa_battery.c
tps65090-charger.c
twl4030_charger.c
twl4030_madc_battery.c
wm97xx_battery.c
wm831x_backup.c
wm831x_power.c
wm8350_power.c
z2_battery.c