twl4030_charger: increase end-of-charge current
[pandora-kernel.git] / drivers / power / twl4030_charger.c
index d8467d2..ecb7274 100644 (file)
@@ -79,7 +79,7 @@
 #define IRQ_CHECK_THRESHOLD    4
 
 /* By default, 80mA */
-static unsigned end_of_charge_current = 80000;
+static unsigned end_of_charge_current = 200000;
 module_param(end_of_charge_current, uint, 0);
 MODULE_PARM_DESC(end_of_charge_current,
        "Stop charging when the charger current goes below this threshold");
@@ -948,9 +948,7 @@ static int __init twl4030_bci_probe(struct platform_device *pdev)
         * usb_current as soon as a charger is plugged in).
         *
         * end_of_charge_current:
-        * defaults to ~400mA (can be set with the eoc_current option)
-        * This is as high as it can be set in the TWL4030. Seems to be a
-        * fairly sane value. Certainly more sane then the default 80mA.
+        * taken from the module parameter.
         */
        if ((ret = update_charge_parameters(bci,
                        500000, end_of_charge_current)))