From: Grazvydas Ignotas Date: Fri, 23 Dec 2016 23:56:23 +0000 (+0200) Subject: twl4030_charger: reduce usb charge current further X-Git-Tag: sz_176~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5381d34f61545951669fd14fc0146191e70370ff;p=pandora-kernel.git twl4030_charger: reduce usb charge current further It seems 550mA is triggering overcurrent protection on my current PC. It's interesting it only seems to happen when the battery is close to full, but not completely, so the old value prevents "full" charging. --- diff --git a/drivers/power/twl4030_charger.c b/drivers/power/twl4030_charger.c index 6fa762eee337..d8467d2994e5 100644 --- a/drivers/power/twl4030_charger.c +++ b/drivers/power/twl4030_charger.c @@ -938,7 +938,7 @@ static int __init twl4030_bci_probe(struct platform_device *pdev) bci->irq_chg = platform_get_irq(pdev, 0); bci->irq_bci = platform_get_irq(pdev, 1); bci->ac_current = 1200000; /* ~1.2A */ - bci->usb_current = 550000; /* ~550mA */ + bci->usb_current = 530000; /* ~530mA */ /* * Make sure to set sane charging settings