aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches/0248-fix-pcf50633-usbrem-charging-led.patch.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
committerMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
commitfac7f7f84f3771c5247c7fdee825c092077984f5 (patch)
tree54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches/0248-fix-pcf50633-usbrem-charging-led.patch.patch
parenta34279723a9cf0796f9261f2fb90bea18cd95711 (diff)
downloadmaster-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.tar.gz
master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.tar.bz2
master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.zip
changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches/0248-fix-pcf50633-usbrem-charging-led.patch.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches/0248-fix-pcf50633-usbrem-charging-led.patch.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/target/linux/s3c24xx/patches/0248-fix-pcf50633-usbrem-charging-led.patch.patch b/target/linux/s3c24xx/patches/0248-fix-pcf50633-usbrem-charging-led.patch.patch
deleted file mode 100755
index dcbf699bdb..0000000000
--- a/target/linux/s3c24xx/patches/0248-fix-pcf50633-usbrem-charging-led.patch.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 8d2916df234dc4762dd019db2ace105a6e744894 Mon Sep 17 00:00:00 2001
-From: Andy Green <andy@openmoko.com>
-Date: Sun, 10 Aug 2008 09:15:59 +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.3
-