1
0
Fork 0
remarkable-linux/drivers/iio/imu
Lorenzo Bianconi af00a24c9e iio: imu: st_lsm6dsx: fix endianness in st_lsm6dsx_read_oneshot()
commit 7b9ebe4282 upstream.

Apply le16_to_cpu() to data read from the sensor in order to take into
account architecture endianness

Fixes: 290a6ce11d (iio: imu: add support to lsm6dsx driver)
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-28 18:24:49 +02:00
..
bmi160 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
inv_mpu6050 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
st_lsm6dsx iio: imu: st_lsm6dsx: fix endianness in st_lsm6dsx_read_oneshot() 2018-03-28 18:24:49 +02:00
Kconfig iio: imu: add support to lsm6dsx driver 2017-01-14 12:40:37 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adis.c iio:adis: Add support for manual self-test flag clear 2016-04-16 13:42:43 +01:00
adis16400.h iio: adis16400: Fix burst transfer for adis16448 2015-05-16 11:01:20 +01:00
adis16400_buffer.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adis16400_core.c iio: adis16400: Change unsigned to unsigned int 2017-07-02 10:27:03 +01:00
adis16480.c iio: imu: adis16480: Fix acceleration scale factor for adis16480 2017-08-20 15:21:47 +01:00
adis_buffer.c iio: adis_buffer: Fix out-of-bounds memory access 2015-12-05 17:32:04 +00:00
adis_trigger.c iio: adis_lib: Initialize trigger before requesting interrupt 2018-02-28 10:19:41 +01:00
kmx61.c iio: remove unused gpio consumer.h include 2016-04-03 10:27:47 +01:00