WSL2-Linux-Kernel/drivers/iio
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
..
accel iio: st_pressure: st_accel: pass correct platform data to init 2018-03-28 18:24:28 +02:00
adc iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock() 2018-03-28 18:24:29 +02:00
amplifiers
buffer License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
chemical iio: chemical: ccs811: Corrected firmware boot/application mode transition 2018-03-28 18:24:28 +02:00
common iio: st_sensors: add register mask for status register 2017-12-25 14:26:26 +01:00
counter
dac License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dummy License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
frequency
gyro iio: st_sensors: add register mask for status register 2017-12-25 14:26:26 +01:00
health iio: health: max30102: Add power enable parameter to get_temp function 2018-03-19 08:42:51 +01:00
humidity License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
imu iio: imu: st_lsm6dsx: fix endianness in st_lsm6dsx_read_oneshot() 2018-03-28 18:24:49 +02:00
light License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
magnetometer iio: st_sensors: add register mask for status register 2017-12-25 14:26:26 +01:00
multiplexer iio: multiplexer: add NULL check on devm_kzalloc() and devm_kmemdup() return values 2017-12-10 13:40:43 +01:00
orientation
potentiometer License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
potentiostat
pressure iio: st_pressure: st_accel: pass correct platform data to init 2018-03-28 18:24:28 +02:00
proximity iio: srf08: fix link error "devm_iio_triggered_buffer_setup" undefined 2018-02-28 10:19:40 +01:00
temperature License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trigger License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: buffer: check if a buffer has been set up when poll is called 2018-02-28 10:19:40 +01:00
industrialio-configfs.c
industrialio-core.c iio: fix kernel-doc build errors 2018-02-25 11:07:58 +01:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c