fix-pcf50633-usbrem-charging-led.patch
commit27fc8d82e365c47065f3a9240bfe21e67a50edf2
authorAndy Green <andy@openmoko.com>
Wed, 6 Aug 2008 14:08:34 +0000 (6 15:08 +0100)
committerAndy Green <agreen@pads.home.warmcat.com>
Wed, 6 Aug 2008 14:08:34 +0000 (6 15:08 +0100)
tree6cf99831bef31ed0bf6f51b22af04e87b273f679
parent1a95efdc23966343a3b432ceef2f6c24dc0e2052
fix-pcf50633-usbrem-charging-led.patch

If the charger was removed, we fell through back to old
hdq-driven code with normally wrong but slightly random
results for charging LED behaviour in that circumstance

This patch makes us use the tracked charger status
callbacks alone if they are defined in the platform
data.

Signed-off-by: Andy Green <andy@openmoko.com>
drivers/power/bq27000_battery.c