kernel-fxtec-pro1x/drivers/iio
Mathieu Othacehe 3fd6c6a93b iio: vcnl4000: Fix i2c swapped word reading.
commit 18dfb5326370991c81a6d1ed6d1aeee055cb8c05 upstream.

The bytes returned by the i2c reading need to be swapped
unconditionally. Otherwise, on be16 platforms, an incorrect value will be
returned.

Taking the slow path via next merge window as its been around a while
and we have a patch set dependent on this which would be held up.

Fixes: 62a1efb9f8 ("iio: add vcnl4000 combined ALS and proximity sensor")
Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-10 21:35:00 +02:00
..
accel iio: sca3000: Remove an erroneous 'get_device()' 2020-05-27 17:37:42 +02:00
adc iio: adc: stm32-dfsdm: fix device used to request dma 2020-05-27 17:37:45 +02:00
afe
amplifiers
buffer
chemical iio:chemical:bme680: Fix SPI read interface 2019-04-27 09:36:34 +02:00
common iio: st_sensors: rely on odr mask to know if odr can be set 2020-04-29 16:31:24 +02:00
counter
dac iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()' 2020-05-27 17:37:43 +02:00
dummy
frequency
gyro iio: st_gyro: Correct data for LSM9DS0 gyro 2020-02-01 09:37:04 +00:00
health
humidity iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting 2019-12-17 20:34:37 +01:00
imu iio: imu: adis16480: assign bias value only if operation succeeded 2020-01-17 19:47:05 +01:00
light iio: vcnl4000: Fix i2c swapped word reading. 2020-06-10 21:35:00 +02:00
magnetometer iio: magnetometer: ak8974: Fix negative raw values in sysfs 2020-03-25 08:06:10 +01:00
multiplexer
orientation
potentiometer
potentiostat
pressure
proximity iio: srf04: fix wrong limitation in distance measuring 2019-11-12 19:20:40 +01:00
resolver
temperature iio: temperature: mlx90632 Relax the compatibility check 2019-06-25 11:35:54 +08:00
trigger iio: trigger: stm32-timer: disable master mode when stopping 2020-03-25 08:06:10 +01:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: buffer: align the size of scan bytes to size of the largest element 2020-01-23 08:21:27 +01:00
industrialio-configfs.c
industrialio-core.c iio: core: fix a possible circular locking dependency 2019-04-27 09:36:35 +02:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c
Kconfig
Makefile