Files
linux/drivers
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
..
2018-02-25 11:07:52 +01:00
2017-12-14 09:53:13 +01:00
2018-03-19 08:42:47 +01:00
2018-03-24 11:01:26 +01:00
2017-12-29 17:53:46 +01:00
2018-01-17 09:45:27 +01:00
2018-03-28 18:24:45 +02:00