twl4030_charger: allow changing end-of-charge currnet.
authorGrond <grond66@riseup.net>
Tue, 20 Dec 2016 18:59:42 +0000 (10:59 -0800)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 21 Dec 2016 23:40:28 +0000 (01:40 +0200)
Allows the user to change the TWL4030's end-of-charge current parameter
via a sysfs file. If set to 400mA, it nicely solves the overcharging
problem on the pandora. Note that this commit also changes the format of
the charge_current sysfs file to be in micro-amperes, to make it
consistent with all the other sysfs parameters. Since it looks like this
file was only being used for debugging purposes, this shouldn't break
anybody's tools. (fingers crossed.)


No differences found