diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2014-07-16 20:32:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-07-20 18:38:39 +0200 |
commit | 381676d5e86596b11e22a62f196e192df6091373 (patch) | |
tree | abc4e1eed66b45c521bb63028b0f1598ad126f94 /REPORTING-BUGS | |
parent | iio: buffer: Fix demux table creation (diff) | |
download | linux-381676d5e86596b11e22a62f196e192df6091373.tar.xz linux-381676d5e86596b11e22a62f196e192df6091373.zip |
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 <pmeerw@pmeerw.net>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Stable@vger.kernel.org
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions