linux/drivers/iio/light
Ferry Toth 4f3dea31bf iio: light: tsl2563: Do not hardcode interrupt trigger type
[ Upstream commit 027641b52f ]

Instead of hardcoding IRQ trigger type to IRQF_TRIGGER_RAISING,
let's respect the settings specified in the firmware description.
To be compatible with the older firmware descriptions, if trigger
type is not set up there, we'll set it to default (raising edge).

Fixes: 388be48839 ("staging:iio: tsl2563 abi fixes and interrupt handling")
Fixes: bdab100173 ("staging:iio:light:tsl2563 remove old style event registration.")
Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221207190348.9347-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:29 +01:00
..
acpi-als.c
adjd_s311.c
adux1020.c
al3010.c
al3320a.c
apds9300.c
apds9960.c iio: light: apds9960: fix wrong register for gesture gain 2022-11-06 17:33:48 +00:00
as73211.c
bh1750.c
bh1780.c
cm3232.c
cm3323.c
cm3605.c
cm32181.c iio: light: cm32181: Fix PM support on system with 2 I2C resources 2023-02-09 11:28:18 +01:00
cm36651.c
cros_ec_light_prox.c
gp2ap002.c
gp2ap020a00f.c
hid-sensor-als.c
hid-sensor-prox.c
iqs621-als.c
isl29018.c
isl29028.c
isl29125.c
jsa1212.c
Kconfig iio: light: rpr0521: add missing Kconfig dependencies 2022-11-12 17:36:02 +00:00
lm3533-als.c
ltr501.c
ltrf216a.c iio: light: ltrf216a: Add raw attribute 2022-08-30 18:35:38 +01:00
lv0104cs.c
Makefile
max44000.c
max44009.c
noa1305.c
opt3001.c
pa12203001.c
rpr0521.c
si1133.c
si1145.c
st_uvis25_core.c iio: light: st_uvis25: Use EXPORT_NS_SIMPLE_DEV_PM_OPS() 2022-09-21 18:42:57 +01:00
st_uvis25_i2c.c iio: light: st_uvis25: Use EXPORT_NS_SIMPLE_DEV_PM_OPS() 2022-09-21 18:42:57 +01:00
st_uvis25_spi.c iio: light: st_uvis25: Use EXPORT_NS_SIMPLE_DEV_PM_OPS() 2022-09-21 18:42:57 +01:00
st_uvis25.h
stk3310.c
tcs3414.c
tcs3472.c
tsl2563.c iio: light: tsl2563: Do not hardcode interrupt trigger type 2023-03-10 09:33:29 +01:00
tsl2583.c iio: light: tsl2583: Fix module unloading 2022-10-17 08:51:26 +01:00
tsl2591.c
tsl2772.c
tsl4531.c
us5182d.c
vcnl4000.c
vcnl4035.c
veml6030.c
veml6070.c
vl6180.c
zopt2201.c