diff options
author | Axel Lin <[email protected]> | 2010-10-26 07:55:54 +0800 |
---|---|---|
committer | Liam Girdwood <[email protected]> | 2010-10-28 22:40:32 +0100 |
commit | ec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6 (patch) | |
tree | a4e2f4b54fa22e52f3f634d5f5a10c4206e2fa2a /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | da05738e94b644d759f28184a9f0bf875b271c55 (diff) |
regulator: max8952 - fix max8952_set_voltage
In current implementation, vid is declared as u8,
then "vid == -1" is always false, and "vid >= 0" is always true.
Thus change it to s8.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Mark Brown <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions