linux/drivers/iio/light
Akinobu Mita 63e9aee576 iio: light: tsl2563: use correct event code
commit a3507e48d3 upstream.

The TSL2563 driver provides three iio channels, two of which are raw ADC
channels (channel 0 and channel 1) in the device and the remaining one
is calculated by the two.  The ADC channel 0 only supports programmable
interrupt with threshold settings and this driver supports the event but
the generated event code does not contain the corresponding iio channel
type.

This is going to change userspace ABI.  Hopefully fixing this to be
what it should always have been won't break any userspace code.

Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-11-11 13:32:52 +00:00
..
adjd_s311.c iio: delete non-required instances of include <linux/init.h> 2014-01-11 11:59:00 +00:00
apds9300.c iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
cm32181.c iio: cm32181: Fix read integration time function 2014-03-15 15:16:42 +00:00
cm36651.c iio: cm36651: Fix i2c client leak and possible NULL pointer dereference 2014-03-22 12:22:49 +00:00
gp2ap020a00f.c iio: Fix spelling of illuminance in gp2ap020a00f driver 2014-05-03 11:58:13 +01:00
hid-sensor-als.c iio: hid-sensor-als: Fix return values 2014-07-05 11:07:38 +01:00
hid-sensor-prox.c iio: light: hid-sensor-prox: Fix modifier 2015-05-28 09:59:56 +01:00
Kconfig iio: hid-sensors: Added Proximity Sensor Driver 2014-02-22 13:07:01 +00:00
lm3533-als.c iio: light: lm3533-als: Use devm_iio_device_alloc 2013-08-03 18:55:25 +01:00
ltr501.c iio: Add Lite-On ltr501 ambient light / proximity sensor driver 2014-01-12 18:15:40 +00:00
Makefile iio: hid-sensors: Added Proximity Sensor Driver 2014-02-22 13:07:01 +00:00
tcs3472.c iio:tcs3472: Check for buffer enabled and locking 2014-07-07 08:59:16 +01:00
tsl2563.c iio: light: tsl2563: use correct event code 2017-11-11 13:32:52 +00:00
tsl4531.c iio: Add tsl4531 ambient light sensor driver 2013-09-14 21:17:15 +01:00
vcnl4000.c iio:vcnl4000: Mark transfer buffer as __be16 2013-12-03 20:22:27 +00:00