summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-da9055.c
diff options
context:
space:
mode:
authorKent Gibson <warthog618@gmail.com>2020-09-28 08:27:56 +0800
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-30 10:56:56 +0200
commit73e0341992b68bb3e748134ea8c7473f9d4e279f (patch)
tree6b73e8e480b972054957aef11d56a07ecb75e88f /drivers/gpio/gpio-da9055.c
parentaad955842d1cdf56d31e600112137d82fd431140 (diff)
downloadlinux-stable-73e0341992b68bb3e748134ea8c7473f9d4e279f.tar.gz
linux-stable-73e0341992b68bb3e748134ea8c7473f9d4e279f.tar.bz2
linux-stable-73e0341992b68bb3e748134ea8c7473f9d4e279f.zip
gpiolib: cdev: support edge detection for uAPI v2
Add support for edge detection to lines requested using GPIO_V2_GET_LINE_IOCTL. The edge_detector implementation is based on the v1 lineevent implementation. Unlike the v1 implementation, an overflow of the event buffer results in discarding older events, rather than the most recent, so the final event in a burst will correspond to the current state of the line. Signed-off-by: Kent Gibson <warthog618@gmail.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-da9055.c')
0 files changed, 0 insertions, 0 deletions