linux/drivers/iio/magnetometer
Sebastian Andrzej Siewior 54302ec38d iio: magnetometer: Remove IRQF_ONESHOT
[ Upstream commit a54e944092 ]

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 force-threading functionality is required on PREEMPT_RT because the
handler is using locks with can sleep on PREEMPT_RT.

Remove IRQF_ONESHOT from irqflags.

Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-03-04 07:20:37 -05:00
..
af8133j.c iio: magnetometer: af8133j: use = { } instead of memset() 2025-06-26 19:32:57 +01:00
ak8974.c iio: magnetometer: Remove redundant pm_runtime_mark_last_busy() calls 2025-08-25 16:16:02 +01:00
ak8975.c iio: magnetometer: Remove IRQF_ONESHOT 2026-03-04 07:20:37 -05:00
als31300.c iio: magnetometer: als31300: remove unused IIO_CHAN_INFO_PROCESSED handling 2025-09-10 19:47:06 +01:00
bmc150_magn.c iio: magnetometer: Remove redundant pm_runtime_mark_last_busy() calls 2025-08-25 16:16:02 +01:00
bmc150_magn.h iio:magnetometer:mbc150: Make bmc150_magn_remove() return void 2022-06-11 14:35:27 +01:00
bmc150_magn_i2c.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
bmc150_magn_spi.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
hid-sensor-magn-3d.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
hmc5843.h iio: magnetometer: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:27 +01:00
hmc5843_core.c iio: magnetometer: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:27 +01:00
hmc5843_i2c.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
hmc5843_spi.c iio: magnetometer: hmc5843_spi: remove bits_per_word = 8 2025-05-21 14:20:31 +01:00
Kconfig iio: magnetometer: add support for Infineon TLV493D 3D Magentic sensor 2025-09-10 19:47:05 +01:00
mag3110.c iio: magnetometer: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:27 +01:00
Makefile iio: magnetometer: add support for Infineon TLV493D 3D Magentic sensor 2025-09-10 19:47:05 +01:00
mmc35240.c iio: Remove single use of macro definition for regmap name 2025-06-09 07:45:36 +01:00
rm3100-core.c iio: magnetometer: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:27 +01:00
rm3100-i2c.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
rm3100-spi.c iio: magnetometer: rm3100-spi: remove bits_per_word = 8 2025-05-21 14:20:31 +01:00
rm3100.h iio: magnetometer: Add driver support for PNI RM3100 2018-11-16 18:32:31 +00:00
si7210.c iio: magnetometer: si7210: add driver for Si7210 2025-02-08 15:16:28 +00:00
st_magn.h iio: magnetometer: st_magn: Add LSM303C 2023-01-08 13:01:02 +00:00
st_magn_buffer.c iio:st-sensors: Remove duplicate MODULE_* 2022-02-18 11:36:54 +00:00
st_magn_core.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
st_magn_i2c.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
st_magn_spi.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
tlv493d.c iio: magnetometer: add support for Infineon TLV493D 3D Magentic sensor 2025-09-10 19:47:05 +01:00
tmag5273.c iio: magnetometer: tmag5273: remove unused IIO_CHAN_INFO_PROCESSED handling 2025-09-10 19:47:06 +01:00
yamaha-yas530.c iio: magnetometer: Remove redundant pm_runtime_mark_last_busy() calls 2025-08-25 16:16:02 +01:00