linux/drivers/power
Greg Meiste 6010dba762 power: bq24617: Fix scenario where charge indication is missed
On Stingray, the charge STAT pins are not connected to a wakeup
source.  Therefore, if the device enters LP0 after the charger is
detected, but before charging begins, charging will never be
reported to the UI since the edge on STAT1 is missed.  The device
is actually charging, but to see the indication, the charger would
have to be removed and re-inserted.  In addition, if charge
complete is reached while in LP0, the edge on STAT2 is missed, and
the UI never shows charge complete.  These issues were resolved by
adding a resume function to the driver.

In addition, the work function and wake_lock was removed from the
driver because the same functionality exists in the power supply
core driver.

Change-Id: Ieaeaf2b47adec21f51bd77910427d74780cb865d
Signed-off-by: Greg Meiste <w30289@motorola.com>
2011-01-26 17:34:50 -08:00
..
apm_power.c apm_power: Add missing break statement 2010-09-08 14:35:10 +04:00
bq27x00_battery.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
bq24617_charger.c power: bq24617: Fix scenario where charge indication is missed 2011-01-26 17:34:50 -08:00
collie_battery.c collie: add battery driver 2009-11-27 21:07:23 +01:00
da9030_battery.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ds2760_battery.c ds2760_battery: Make charge_now and charge_full writeable 2010-05-19 12:14:42 +04:00
ds2781_battery.c power: ds2781: Lower capacity threshold for sanity check 2010-12-13 13:47:21 -08:00
ds2782_battery.c Merge git://git.infradead.org/users/cbou/battery-2.6.35 2010-07-27 09:22:55 -07:00
intel_mid_battery.c intel_pmic_battery: Fix battery charging status on mrst 2010-08-24 18:27:57 +04:00
jz4740-battery.c POWER: Add JZ4740 battery driver. 2010-08-05 13:26:20 +01:00
Kconfig power: ds2781: Add DS2781 battery driver 2010-10-06 16:33:12 -07:00
Makefile power: ds2781: Add DS2781 battery driver 2010-10-06 16:33:12 -07:00
max8925_power.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
max17040_battery.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
olpc_battery.c olpc_battery: Fix endian neutral breakage for s16 values 2010-12-09 13:32:30 -08:00
pcf50633-charger.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pda_power.c pda_power: Add function callbacks for suspend and resume 2010-04-16 19:14:34 +04:00
pmu_battery.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
power_supply_core.c power_supply: Hold a wake_lock while power supply change notifications are pending 2010-09-29 17:49:09 -07:00
power_supply_leds.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
power_supply_sysfs.c power_supply: Fix regression for 'type' property 2010-05-25 13:52:58 +04:00
power_supply.h power_supply: Use attribute groups 2010-05-19 12:14:28 +04:00
s3c_adc_battery.c Add s3c-adc-battery driver 2010-07-23 17:08:41 +04:00
test_power.c power_supply: Add test_power driver 2010-05-18 19:58:56 +04:00
tosa_battery.c tosa_battery: Fix build error due to direct driver_data usage 2010-05-03 00:02:56 +04:00
wm97xx_battery.c [ARM] wm97xx_batt: remove now useless header file 2010-08-05 14:32:15 +08:00
wm831x_backup.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wm831x_power.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2010-04-26 21:56:19 +04:00
wm8350_power.c mfd: Update WM8350 drivers for changed interrupt numbers 2010-03-07 22:16:58 +01:00
z2_battery.c [ARM] pxa/z2: fix missing include in battery driver 2010-06-13 23:55:13 +08:00