summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorMyungJoo Ham2017-05-08 07:45:44 +0200
committerMark Brown2017-05-14 11:39:31 +0200
commitf74521ca578f38daa3e800efde7fdb2ac3ba76ef (patch)
tree615ace6fc9147aee877fdc43a4cefeeef14939b7 /drivers/regulator/Kconfig
parentLinux 4.12-rc1 (diff)
downloadkernel-qcow2-linux-f74521ca578f38daa3e800efde7fdb2ac3ba76ef.tar.gz
kernel-qcow2-linux-f74521ca578f38daa3e800efde7fdb2ac3ba76ef.tar.xz
kernel-qcow2-linux-f74521ca578f38daa3e800efde7fdb2ac3ba76ef.zip
regulator: max8997/8966: fix charger cv voltage set bug
When min charger-CV is <= 4.0V and max charger-CV is >= 4.0V, we can use 4.00V as CV (register value = 0x1).` The original code had a typo that wrote ">=" (max_uV >= 4000000), which should've been "<", which is not necessary anyway as mentioned by Dan Carpenter. Reported-By: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/Kconfig')
0 files changed, 0 insertions, 0 deletions