mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
The userspace interface for acceleration sensors is documented as using m/s^2 units [Documentation/ABI/testing/sysfs-bus-iio] The fullscale raw value for the mma8452 (-2048) corresponds to -2G, -4G or -8G depending on the seleted mode. The scale table was converting to G rather than m/s^2. Change the scaling table to match the documented interface. Signed-off-by: Martin Fuzzey <mfuzzey@parkeon.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Cc: stable@vger.kernel.org |
History
|
|
|---|---|---|
| .. | ||
| bma180.c | ||
| hid-sensor-accel-3d.c | ||
| Kconfig | ||
| kxsd9.c | ||
| Makefile | ||
| mma8452.c | ||
| st_accel.h | ||
| st_accel_buffer.c | ||
| st_accel_core.c | ||
| st_accel_i2c.c | ||
| st_accel_spi.c | ||