mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-04 20:23:04 +09:00
commit7b9ebe4282upstream. 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>