twl4030_charger: Filter charge_current values under 1024
authorGrond <grond66@riseup.net>
Wed, 21 Dec 2016 05:18:35 +0000 (21:18 -0800)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 21 Dec 2016 23:41:56 +0000 (01:41 +0200)
commit236762b65aeacb9f90467c8818869effcaf9a4ac
treed1e238b214f0953808e769a26ae217ff042cae90
parentf8f7639564b55752954fe63bdd9ebc034de77690
twl4030_charger: Filter charge_current values under 1024

So that hypothetical users of this file don't proceed under the false assumption
that the format of charge_current hasn't changed. This is safe, since the
smallest value which can be given to the TWL4030's current regulator is
~1.666mA, and 1024uA is less than this.
drivers/power/twl4030_charger.c