diff options
| author | Benjamin Tissoires <benjamin.tissoires@gmail.com> | 2012-11-14 16:59:15 +0100 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2012-11-15 10:07:55 +0100 |
| commit | 774638386826621c984ab6994439f474709cac5e (patch) | |
| tree | 897fb8a15947768f7dc9521027c7c20fe830c1bf /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | HID: round return value of hidinput_calc_abs_res (diff) | |
| download | linux-774638386826621c984ab6994439f474709cac5e.tar.gz linux-774638386826621c984ab6994439f474709cac5e.zip | |
HID: fix unit exponent parsing
HID spec details special values for the HID field unit exponent.
Basically, the range [0x8..0xf] correspond to [-8..-1], so this is
a standard two's complement on a half-byte.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
