summaryrefslogtreecommitdiffstats
path: root/include/linux/debug_locks.h
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-14 18:14:54 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-04-07 08:36:36 +0100
commit5bfe0cac3f3bc2ced4e8c9f2c2dfe0030fe4bb4d (patch)
tree6dffe9497e41f05833994da1f0a02b967c062ab8 /include/linux/debug_locks.h
parent67322b2b667847515a35e22c9a86fc8933274468 (diff)
downloadcachepc-linux-5bfe0cac3f3bc2ced4e8c9f2c2dfe0030fe4bb4d.tar.gz
cachepc-linux-5bfe0cac3f3bc2ced4e8c9f2c2dfe0030fe4bb4d.zip
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
Diffstat (limited to 'include/linux/debug_locks.h')
0 files changed, 0 insertions, 0 deletions