aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2012-04-11 20:53:58 +0800
committerMark Brown <[email protected]>2012-04-17 15:17:11 +0100
commitf55205f4d4a8823a11bb8b37ef2ecbd78fb09463 (patch)
treeacb5c8624f1af12cc9bb5235c5bc586b92efa832 /tools/perf/util/scripting-engines/trace-event-python.c
parente816b57a337ea3b755de72bec38c10c864f23015 (diff)
regulator: Fix the logic to ensure new voltage setting in valid range
I think this is a typo. To ensure new voltage setting won't greater than desc->max, the equation should be desc->min + desc->step * new_val <= desc->max. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions