diff options
author | Lars-Peter Clausen <[email protected]> | 2013-03-01 13:07:00 +0000 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2013-03-02 16:28:42 +0000 |
commit | c5ef717a774b326a6708e2e14ddf9957b619d5c4 (patch) | |
tree | d9df99fd5a2b26e31344a379c95d52c7e16acfcc /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a26302628ad164980493ab7768a05a7f3a8d8842 (diff) |
iio:ad5064: Fix off by one in DAC value range check
The DAC value range check allows values one larger than the maximum value, which
effectively results in setting the DAC value to 0. This patch fixes the issue.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions