linux_dsm_epyc7002/drivers/iio/light
Franziska Naepelt 7cc3bff4ef iio: light: ltr501 Fix interchanged als/ps register field
The register mapping for the IIO driver for the Liteon Light and Proximity
sensor LTR501 interrupt mode is interchanged (ALS/PS).
There is a register called INTERRUPT register (address 0x8F)
Bit 0 represents PS measurement trigger.
Bit 1 represents ALS measurement trigger.
This two bit fields are interchanged within the driver.
see datasheet page 24:
http://optoelectronics.liteon.com/upload/download/DS86-2012-0006/S_110_LTR-501ALS-01_PrelimDS_ver1%5B1%5D.pdf

Signed-off-by: Franziska Naepelt <franziska.naepelt@idt.com>
Fixes: 7ac702b314 ("iio: ltr501: Add interrupt support")
Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-05-21 14:47:39 +01:00
..
acpi-als.c
adjd_s311.c
al3320a.c
apds9300.c
apds9960.c iio: light: apds9960: add system-wide suspend 2017-04-14 16:43:32 +01:00
bh1750.c iio: light: bh1750: constify attribute_group structures 2017-04-01 11:27:22 +01:00
bh1780.c
cm3232.c iio: light: fix improper return value 2016-12-04 10:56:26 +00:00
cm3323.c
cm3605.c iio: light: cm3605: mark PM functions as __maybe_unused 2017-01-21 12:34:54 +00:00
cm32181.c
cm36651.c
cros_ec_light_prox.c iio: cros_ec_light_prox: add ChromeOS EC Light and Proximity Sensors 2017-02-04 12:29:52 +00:00
gp2ap020a00f.c
hid-sensor-als.c iio: light: hid-sensor-als: Add duplicate IIO_LIGHT channel 2016-12-30 17:06:34 +00:00
hid-sensor-prox.c hid: hid-sensor-prox: Add more data field for hysteresis parsing 2017-02-25 16:43:18 +00:00
isl29018.c staging: iio: isl29018: move out of staging 2016-10-23 19:33:56 +01:00
isl29125.c
jsa1212.c
Kconfig iio:light: Add support for STMicro VL6180 sensor 2017-03-25 16:20:46 +00:00
lm3533-als.c iio: light: lm3533-als: constify attribute_group structures 2017-04-02 09:08:55 +01:00
ltr501.c iio: light: ltr501 Fix interchanged als/ps register field 2017-05-21 14:47:39 +01:00
Makefile iio:light: Add support for STMicro VL6180 sensor 2017-03-25 16:20:46 +00:00
max44000.c iio: max44000: correct value in illuminance_integration_time_available 2016-12-30 20:20:23 +00:00
opt3001.c iio: light: opt3001: Export OF device ID table as module aliases 2017-01-22 13:21:29 +00:00
pa12203001.c
rpr0521.c
si1145.c
stk3310.c
tcs3414.c
tcs3472.c
tsl2563.c iio: light: tsl2563: Add OF device ID table 2017-03-19 10:52:56 +00:00
tsl2583.c iio: tsl2583: make array large enough 2016-11-24 20:09:55 +00:00
tsl4531.c
us5182d.c iio: light: us5182d: Add OF device ID table 2017-03-19 10:52:03 +00:00
vcnl4000.c
veml6070.c
vl6180.c iio:light: Add support for STMicro VL6180 sensor 2017-03-25 16:20:46 +00:00