aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMyungJoo Ham <[email protected]>2017-05-08 05:45:44 +0000
committerMark Brown <[email protected]>2017-05-14 18:39:31 +0900
commitf74521ca578f38daa3e800efde7fdb2ac3ba76ef (patch)
tree615ace6fc9147aee877fdc43a4cefeeef14939b7 /tools/perf/util/trace-event-scripting.c
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
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 <[email protected]> Signed-off-by: MyungJoo Ham <[email protected]> Reviewed-by: Bartlomiej Zolnierkiewicz <[email protected]> Reviewed-by: Chanwoo Choi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions