diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-13 01:54:56 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-13 01:54:56 +0000 |
commit | a95f9f92e2953d5829a29e95644dc4c4bc93f590 (patch) | |
tree | 01f2bf78edb2e3bb1466df9bca72e068632d0e74 /target/linux/s3c24xx/patches-2.6.26/0249-fix-no-discharging.patch.patch | |
parent | 9fa649271dbc9c83417488203aeb1668a0238c54 (diff) |
change prefix for kernelpatchbase 2.6.26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13619 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/0249-fix-no-discharging.patch.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches-2.6.26/0249-fix-no-discharging.patch.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/0249-fix-no-discharging.patch.patch b/target/linux/s3c24xx/patches-2.6.26/0249-fix-no-discharging.patch.patch deleted file mode 100755 index a4356fd0fd..0000000000 --- a/target/linux/s3c24xx/patches-2.6.26/0249-fix-no-discharging.patch.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 8d2acef7c5d7179db19b3c8a0ae9ae4c152faaff Mon Sep 17 00:00:00 2001 -From: Andy Green <andy@openmoko.com> -Date: Sun, 10 Aug 2008 09:16:04 +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.3 - |