From: Grond Date: Tue, 20 Dec 2016 18:59:42 +0000 (-0800) Subject: twl4030_charger: allow changing end-of-charge currnet. X-Git-Tag: sz_176~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bad919577b82154c637ddeca694cdb2880ea038;p=pandora-kernel.git twl4030_charger: allow changing end-of-charge currnet. 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.) --- Reading git-diff-tree failed