twl4030_bci_battery: Improved threshold setting
authorDavid Goldsmith <wizard@houseoffire.ca>
Mon, 20 Jun 2011 02:31:56 +0000 (04:31 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Mon, 20 Jun 2011 02:31:56 +0000 (04:31 +0200)
drivers/power/twl4030_bci_battery.c

index 5cc55a9..b186534 100644 (file)
@@ -825,7 +825,7 @@ static int twl4030battery_charge_setup(void)
         * In reality, this should be 80ma+current_used or whatever, but we
         * don't necessarily have that. This is a good approximation
         */
-       ret = twl4030_i2c_write_u8(TWL4030_MODULE_MAIN_CHARGE, 0x99, REG_BCIMFTH8);
+       ret = twl4030_i2c_write_u8(TWL4030_MODULE_MAIN_CHARGE, 0xB9, REG_BCIMFTH8);
        if (ret)
                return ret;