WSL2-Linux-Kernel/drivers/iio/light
Ferry Toth 806d411350 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:39:34 +01:00
..
Kconfig iio: light: rpr0521: add missing Kconfig dependencies 2022-12-08 11:28:38 +01:00
Makefile iio: light: Added AMS tsl2591 driver implementation 2021-05-17 13:49:06 +01:00
acpi-als.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
adjd_s311.c iio: light: adjd_s311: convert probe to device-managed functions 2021-07-17 18:44:18 +01:00
adux1020.c
al3010.c
al3320a.c
apds9300.c
apds9960.c iio: light: apds9960: fix wrong register for gesture gain 2022-12-02 17:41:08 +01:00
as73211.c iio/drivers/as73211: use HZ macros 2021-09-08 11:50:26 -07:00
bh1750.c
bh1780.c
cm3232.c
cm3323.c iio: light: cm3323: Add of_device_id table 2021-08-08 15:25:40 +01:00
cm3605.c
cm32181.c
cm36651.c
cros_ec_light_prox.c iio: cros: Register FIFO callback after sensor is registered 2022-08-17 14:23:55 +02:00
gp2ap002.c
gp2ap020a00f.c
hid-sensor-als.c iio: hid-sensors: bind IIO channels alloc to device object 2021-07-13 18:21:53 +01:00
hid-sensor-prox.c iio: hid-sensors: bind IIO channels alloc to device object 2021-07-13 18:21:53 +01:00
iqs621-als.c
isl29018.c
isl29028.c iio: light: isl29028: Fix the warning in isl29028_remove() 2022-08-17 14:22:55 +02:00
isl29125.c iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-05-17 13:54:30 +01:00
jsa1212.c
lm3533-als.c
ltr501.c iio: ltr501: Don't return error code in trigger handler 2021-12-14 10:57:21 +01:00
lv0104cs.c
max44000.c
max44009.c
noa1305.c
opt3001.c iio: light: opt3001: Fixed timeout error when 0 lux 2021-10-03 16:43:25 +01:00
pa12203001.c iio: light: pa12203001: Use pm_runtime_resume_and_get() to replace open coding. 2021-05-17 13:54:31 +01:00
rpr0521.c iio: light: rpr0521: Balance runtime pm + use pm_runtime_resume_and_get() 2021-05-17 13:54:27 +01:00
si1133.c iio: light: si1133: Drop remaining uses of %hhx format string. 2021-06-09 18:31:03 +01:00
si1145.c iio: light: si1145: remove redundant continue statement 2021-07-19 09:52:00 +01:00
st_uvis25.h
st_uvis25_core.c
st_uvis25_i2c.c
st_uvis25_spi.c
stk3310.c iio: stk3310: Don't return error code in interrupt handler 2021-12-14 10:57:20 +01:00
tcs3414.c iio: light: tcs3414: convert probe to device-managed routines 2021-07-19 09:51:59 +01:00
tcs3472.c iio: light: tcs3472: do not free unallocated IRQ 2021-06-16 14:57:03 +01:00
tsl2563.c iio: light: tsl2563: Do not hardcode interrupt trigger type 2023-03-10 09:39:34 +01:00
tsl2583.c iio: light: tsl2583: Fix module unloading 2022-11-03 23:59:11 +09:00
tsl2591.c iio: light: tsl2591: delete a stray tab 2021-05-17 14:10:24 +01:00
tsl2772.c
tsl4531.c
us5182d.c iio: light: us5182: Use pm_runtime_resume_and_get() to replace open coding. 2021-05-17 13:54:26 +01:00
vcnl4000.c iio: light: vcnl4000: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-14 11:42:41 +01:00
vcnl4035.c iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-16 14:53:08 +01:00
veml6030.c iio: light: Convert sysfs sprintf/snprintf family to sysfs_emit 2021-05-17 13:49:05 +01:00
veml6070.c
vl6180.c
zopt2201.c