diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-03-14 15:52:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-03-14 15:52:42 +0000 |
commit | 16defbb2bd9478f9e5384b9722f20a694e6bae41 (patch) | |
tree | f52e202c30c7fca103b196ece1223e18446e4dfc /target/linux/s3c24xx/patches-2.6.24/1254-fix-pcf50633-usbrem-charging-led.patch.patch | |
parent | b4644aedce6526b5d07b336187c8e6417c7dd75e (diff) | |
download | upstream-16defbb2bd9478f9e5384b9722f20a694e6bae41.tar.gz upstream-16defbb2bd9478f9e5384b9722f20a694e6bae41.tar.bz2 upstream-16defbb2bd9478f9e5384b9722f20a694e6bae41.zip |
nuke obsolete kernel stuff
SVN-Revision: 14875
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1254-fix-pcf50633-usbrem-charging-led.patch.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1254-fix-pcf50633-usbrem-charging-led.patch.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1254-fix-pcf50633-usbrem-charging-led.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1254-fix-pcf50633-usbrem-charging-led.patch.patch deleted file mode 100644 index 2434ee048c..0000000000 --- a/target/linux/s3c24xx/patches-2.6.24/1254-fix-pcf50633-usbrem-charging-led.patch.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 27fc8d82e365c47065f3a9240bfe21e67a50edf2 Mon Sep 17 00:00:00 2001 -From: Andy Green <andy@openmoko.com> -Date: Wed, 6 Aug 2008 15:08:34 +0100 -Subject: [PATCH] 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 | 12 ++++++++---- - 1 files changed, 8 insertions(+), 4 deletions(-) - -diff --git a/drivers/power/bq27000_battery.c b/drivers/power/bq27000_battery.c -index 7020608..4c7e862 100644 ---- a/drivers/power/bq27000_battery.c -+++ b/drivers/power/bq27000_battery.c -@@ -182,12 +182,16 @@ static int bq27000_battery_get_property(struct power_supply *psy, - */ - if (!di->pdata->get_charger_active_status) - goto use_bat; -- if ((di->pdata->get_charger_active_status)()) -+ -+ if ((di->pdata->get_charger_active_status)()) { - val->intval = POWER_SUPPLY_STATUS_CHARGING; -- else -- val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; -- break; -+ break; -+ } - } -+ -+ val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; -+ break; -+ - use_bat: - /* - * either the charger is not connected, or the --- -1.5.6.5 - |