[Balloon-svn] r1859 - balloon/branches/menuconfig2/package/k…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: subversion@balloonboard.org
Date:  
To: balloon-svn
Subject: [Balloon-svn] r1859 - balloon/branches/menuconfig2/package/kernel/patches/2.6.39.4
Author: nick
Date: 2012-04-20 10:27:26 +0100 (Fri, 20 Apr 2012)
New Revision: 1859

Modified:
balloon/branches/menuconfig2/package/kernel/patches/2.6.39.4/battery-tt.patch
Log:
initialise status

Modified: balloon/branches/menuconfig2/package/kernel/patches/2.6.39.4/battery-tt.patch
===================================================================
--- balloon/branches/menuconfig2/package/kernel/patches/2.6.39.4/battery-tt.patch    2012-04-17 12:44:14 UTC (rev 1858)
+++ balloon/branches/menuconfig2/package/kernel/patches/2.6.39.4/battery-tt.patch    2012-04-20 09:27:26 UTC (rev 1859)
@@ -1,7 +1,7 @@
 Index: linux-2.6.39.4/drivers/power/Kconfig
 ===================================================================
---- linux-2.6.39.4.orig/drivers/power/Kconfig    2011-08-03 20:43:28.000000000 +0100
-+++ linux-2.6.39.4/drivers/power/Kconfig    2012-04-16 16:04:54.000000000 +0100
+--- linux-2.6.39.4.orig/drivers/power/Kconfig    2012-04-17 13:41:35.000000000 +0100
++++ linux-2.6.39.4/drivers/power/Kconfig    2012-04-17 13:41:42.000000000 +0100
 @@ -219,4 +219,17 @@
        This driver can be build as a module. If so, the module will be
        called gpio-charger.
@@ -22,8 +22,8 @@
  endif # POWER_SUPPLY
 Index: linux-2.6.39.4/drivers/power/Makefile
 ===================================================================
---- linux-2.6.39.4.orig/drivers/power/Makefile    2011-08-03 20:43:28.000000000 +0100
-+++ linux-2.6.39.4/drivers/power/Makefile    2012-04-16 16:04:54.000000000 +0100
+--- linux-2.6.39.4.orig/drivers/power/Makefile    2012-04-17 13:41:35.000000000 +0100
++++ linux-2.6.39.4/drivers/power/Makefile    2012-04-17 13:41:42.000000000 +0100
 @@ -34,3 +34,4 @@
  obj-$(CONFIG_CHARGER_ISP1704)    += isp1704_charger.o
  obj-$(CONFIG_CHARGER_TWL4030)    += twl4030_charger.o
@@ -32,8 +32,8 @@
 Index: linux-2.6.39.4/drivers/power/tt_battery.c
 ===================================================================
 --- /dev/null    1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.39.4/drivers/power/tt_battery.c    2012-04-17 10:34:48.000000000 +0100
-@@ -0,0 +1,441 @@
++++ linux-2.6.39.4/drivers/power/tt_battery.c    2012-04-19 13:34:03.000000000 +0100
+@@ -0,0 +1,442 @@
 +/*
 + * Battery and Power Management code for the Bubble TT device
 + * Copyright (c) 2011 Nick Bane
@@ -390,6 +390,7 @@
 +    if (ret)
 +        return ret;
 +
++    tt_bat.vbus_status = 0;
 +    tt_bat.spi = dev;
 +    tt_bat.irq = dev->irq;
 +