aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorPeter Meerwald <[email protected]>2014-07-16 19:32:00 +0100
committerJonathan Cameron <[email protected]>2014-07-20 17:38:39 +0100
commit381676d5e86596b11e22a62f196e192df6091373 (patch)
treeabc4e1eed66b45c521bb63028b0f1598ad126f94 /tools/perf/util/trace-event-scripting.c
parent61bd55ce1667809f022be88da77db17add90ea4e (diff)
iio:bma180: Fix scale factors to report correct acceleration units
The userspace interface for acceleration sensors is documented as using m/s^2 units [Documentation/ABI/testing/sysfs-bus-iio] The fullscale raw values for the BMA80 corresponds to -/+ 1, 1.5, 2, etc G depending on the selected mode. The scale table was converting to G rather than m/s^2. Change the scaling table to match the documented interface. See commit 71702e6e, iio: mma8452: Use correct acceleration units, for a related fix. Signed-off-by: Peter Meerwald <[email protected]> Cc: Oleksandr Kravchenko <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions