X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=drivers%2Fpower%2Ftwl4030_charger.c;h=ecb7274b086c358fbe0bcd67582965da6b35ad27;hp=d8467d2994e524b4c6fbbedf9734d53f623d0276;hb=af37d866c8aa1b8b61650629a53c6fab2a17e867;hpb=5381d34f61545951669fd14fc0146191e70370ff diff --git a/drivers/power/twl4030_charger.c b/drivers/power/twl4030_charger.c index d8467d2994e5..ecb7274b086c 100644 --- a/drivers/power/twl4030_charger.c +++ b/drivers/power/twl4030_charger.c @@ -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)))