linux/drivers/staging/iio
Jonathan Cameron 5bfe0cac3f staging:iio:cdc:ad7150: Simplify event handling by only using rising direction.
The event line is active high and not maskable within the device.
It indicates current state directly.

The device supports separate rising and falling thresholds so rather
than trying to using each bound to detect in both directions just use
IRQF_TRIGGER_RISING.  If a user wants to detect the value falling
back below the threshold, then set the falling threshold appropriately.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210314181511.531414-8-jic23@kernel.org
2021-04-07 08:36:36 +01:00
..
accel staging: iio: adis16240: add blank line before struct definition 2020-10-26 06:53:09 +01:00
adc iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
addac iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
cdc staging:iio:cdc:ad7150: Simplify event handling by only using rising direction. 2021-04-07 08:36:36 +01:00
Documentation staging:iio:documentation: Drop most generic docs 2020-09-16 19:12:00 +01:00
frequency staging: iio: ad9832: kernel-doc fixes 2021-03-25 19:13:52 +00:00
impedance-analyzer iio: make use of devm_iio_kfifo_buffer_setup() helper 2021-03-11 20:47:01 +00:00
meter Merge 5.1-rc6 into staging-next 2019-04-21 23:18:44 +02:00
resolver iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile staging: iio: Drop ADIS16060 driver from staging 2018-06-10 11:52:31 +01:00
TODO staging: iio: remove mention of defunct list 2021-03-25 19:13:49 +00:00