summaryrefslogtreecommitdiff
path: root/drivers/pci/bus.c
diff options
context:
space:
mode:
authorRamona Gradinariu <ramona.bolboaca13@gmail.com>2024-05-27 17:26:15 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-04 19:53:09 +0100
commit01724ce2d9405b2246bbb69701c74880eb56a34b (patch)
tree6deceff141852eb4bb1158df38d4da5365e8dd37 /drivers/pci/bus.c
parentf5657c7751d73db8d88c6eee556dce6534620a1f (diff)
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>
Diffstat (limited to 'drivers/pci/bus.c')
0 files changed, 0 insertions, 0 deletions