android_kernel_sony_sdm845/drivers/iio/light
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mathieu Othacehe 259108a77b iio: vcnl4000: Fix i2c swapped word reading.
[ Upstream commit 18dfb5326370991c81a6d1ed6d1aeee055cb8c05 ]

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: Sasha Levin <sashal@kernel.org>
2020-06-11 09:22:23 +02:00
..
acpi-als.c
adjd_s311.c
al3320a.c
apds9300.c
apds9960.c
bh1750.c iio: light: bh1750: Resolve compiler warning and make code more readable 2020-01-04 13:39:02 +01:00
bh1780.c
cm3232.c iio: light: fix improper return value 2017-11-30 08:39:13 +00:00
cm3323.c
cm32181.c
cm36651.c
gp2ap020a00f.c
hid-sensor-als.c
hid-sensor-prox.c
isl29125.c
jsa1212.c
Kconfig
lm3533-als.c
ltr501.c
Makefile
max44000.c
opt3001.c iio: light: opt3001: fix mutex unlock race 2019-10-17 13:42:42 -07:00
pa12203001.c
rpr0521.c iio: light: rpr0521 poweroff for probe fails 2018-04-13 19:48:02 +02:00
si1145.c
stk3310.c
tcs3414.c
tcs3472.c
tsl2563.c
tsl4531.c
us5182d.c
vcnl4000.c iio: vcnl4000: Fix i2c swapped word reading. 2020-06-11 09:22:23 +02:00
veml6070.c