#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");
* 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)))