Ramona Gradinariu 01724ce2d9 iio: imu: adis_trigger: Allow level interrupts for FIFO readings
Currently, adis library allows configuration only for edge interrupts,
needed for data ready sampling.
This patch removes the restriction for level interrupts for devices
which have FIFO support.
Furthermore, in case of devices which have FIFO support,
devm_request_threaded_irq is used for interrupt allocation, to avoid
flooding the processor with the FIFO watermark level interrupt, which
is active until enough data has been read from the FIFO.

Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Ramona Gradinariu <ramona.bolboaca13@gmail.com>
Link: https://lore.kernel.org/r/20240527142618.275897-7-ramona.bolboaca13@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-06-04 19:53:09 +01:00
..
2024-05-20 15:18:34 -07:00
2024-05-24 17:28:02 -07:00
2024-05-22 10:49:54 -07:00
Hi,
2024-05-13 10:40:15 -07:00
2024-05-04 10:19:59 +02:00
2024-05-14 18:25:53 -07:00
2024-05-23 13:29:27 +02:00
2024-05-23 13:44:47 -07:00
2024-05-24 17:28:02 -07:00