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/1270-fix-no-discharging.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/1270-fix-no-discharging.patch.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1270-fix-no-discharging.patch.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1270-fix-no-discharging.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1270-fix-no-discharging.patch.patch deleted file mode 100644 index 5d878c2268..0000000000 --- a/target/linux/s3c24xx/patches-2.6.24/1270-fix-no-discharging.patch.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 2438a8c74c495c95f5b78301a44ed8e8d0b267d5 Mon Sep 17 00:00:00 2001 -From: Andy Green <andy@openmoko.com> -Date: Sat, 9 Aug 2008 09:43:32 +0100 -Subject: [PATCH] fix-no-discharging.patch - -We failed to report status of "discharging", instead reporting -"not charging" even if we knew that the charger was not present. - -This patch corrects it and reports "discharging" when charger -is absent. - -Signed-off-by: Andy Green <andy@openmoko.com> ---- - drivers/power/bq27000_battery.c | 10 +++++++++- - 1 files changed, 9 insertions(+), 1 deletions(-) - -diff --git a/drivers/power/bq27000_battery.c b/drivers/power/bq27000_battery.c -index 4c7e862..cd4968e 100644 ---- a/drivers/power/bq27000_battery.c -+++ b/drivers/power/bq27000_battery.c -@@ -187,9 +187,17 @@ static int bq27000_battery_get_property(struct power_supply *psy, - val->intval = POWER_SUPPLY_STATUS_CHARGING; - break; - } -+ val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; -+ break; - } - -- val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; -+ /* -+ * platform provided definite indication of charger presence, -+ * and it is telling us it isn't there... but we are on so we -+ * must be running from battery ---> -+ */ -+ -+ val->intval = POWER_SUPPLY_STATUS_DISCHARGING; - break; - - use_bat: --- -1.5.6.5 - |