linux/drivers/iio/temperature
Sebastian Andrzej Siewior ac9fabd578 iio: Replace IRQF_ONESHOT with IRQF_NO_THREAD
Passing IRQF_ONESHOT ensures that the interrupt source is masked until
the secondary (threaded) handler is done. If only a primary handler is
used then the flag makes no sense because the interrupt can not fire
(again) while its handler is running.
The flag also disallows force-threading of the primary handler and the
irq-core will warn about this.

The intention here was probably not allowing forced-threading for
handlers such as iio_trigger_generic_data_rdy_poll() will intends to
invoke hard-interrupt handlers.

Replace IRQF_ONESHOT with IRQF_NO_THREAD.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2026-01-29 16:11:50 +00:00
..
hid-sensor-temperature.c iio: temperature: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
iqs620at-temp.c iio: temperature: iqs620at-temp: Add support for V3 silicon 2022-02-14 13:07:33 +00:00
Kconfig iio: mcp9600: Recognize chip id for mcp9601 2025-08-25 10:35:36 +01:00
ltc2983.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
Makefile iio: temperature: mlx90635 MLX90635 IR Temperature sensor 2023-12-11 19:16:34 +00:00
max30208.c iio: temperature: max30208: Remove an unused field in struct max30208_data 2024-05-27 09:48:56 +01:00
max31856.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
max31865.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
maxim_thermocouple.c iio: temperature: maxim_thermocouple: use DMA-safe buffer for spi_read() 2025-08-11 21:35:01 +01:00
mcp9600.c iio: mcp9600: Add support for thermocouple-type 2025-08-25 10:36:16 +01:00
mlx90614.c iio: mlx90614: Convert to common field_{get,prep}() helpers 2025-11-24 14:15:47 -05:00
mlx90632.c iio: temperature: Remove redundant pm_runtime_mark_last_busy() calls 2025-08-25 16:17:09 +01:00
mlx90635.c iio: temperature: Remove redundant pm_runtime_mark_last_busy() calls 2025-08-25 16:17:09 +01:00
tmp006.c iio: Replace IRQF_ONESHOT with IRQF_NO_THREAD 2026-01-29 16:11:50 +00:00
tmp007.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
tmp117.c iio: temperature: tmp117: add support for vcc-supply 2024-02-28 19:26:35 +00:00
tsys01.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
tsys02d.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00