git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7d581ee
)
twl4030_charger: reduce usb charge current further
author
Grazvydas Ignotas
<notasas@gmail.com>
Fri, 23 Dec 2016 23:56:23 +0000
(
01:56
+0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Fri, 23 Dec 2016 23:56:23 +0000
(
01:56
+0200)
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.
drivers/power/twl4030_charger.c
patch
|
blob
|
history
diff --git
a/drivers/power/twl4030_charger.c
b/drivers/power/twl4030_charger.c
index
6fa762e
..
d8467d2
100644
(file)
--- 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 = 5
50000; /* ~55
0mA */
+ bci->usb_current = 5
30000; /* ~53
0mA */
/*
* Make sure to set sane charging settings