linux/drivers/iio/accel
Peter Meerwald 381676d5e8 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
2014-07-20 17:38:39 +01:00
..
bma180.c iio:bma180: Fix scale factors to report correct acceleration units 2014-07-20 17:38:39 +01:00
hid-sensor-accel-3d.c iio: hid-sensor-accel-3d: Fix return values 2014-07-05 11:04:48 +01:00
Kconfig iio: Add Freescale MMA8452Q 3-axis accelerometer driver 2014-05-03 12:06:25 +01:00
kxsd9.c iio:accel:kxsd9 fix missing mutex unlock 2013-11-17 15:22:00 +00:00
Makefile iio: Add Freescale MMA8452Q 3-axis accelerometer driver 2014-05-03 12:06:25 +01:00
mma8452.c iio: mma8452: Use correct acceleration units. 2014-07-12 13:18:55 +01:00
st_accel_buffer.c iio:st_accel: Drop redundant call to iio_sw_buffer_preenable() 2013-10-16 19:11:11 +01:00
st_accel_core.c iio: st_sensors: move regulator retrieveal to core 2014-04-26 11:52:42 +01:00
st_accel_i2c.c iio: accel: st_accel: Use devm_iio_device_alloc 2013-08-03 18:41:18 +01:00
st_accel_spi.c iio: accel: st_accel: Use devm_iio_device_alloc 2013-08-03 18:41:18 +01:00
st_accel.h iio: Added ST-sensors platform data to select the DRDY interrupt pin 2013-08-03 18:40:28 +01:00