Re: [PATCH v2 07/18] gpiolib: cdev: support edge detection for uAPI v2

2020-08-04 Thread Bartosz Golaszewski
On Sat, Jul 25, 2020 at 6:21 AM Kent Gibson wrote: > > Add support for edge detection to lines requested using > GPIO_GET_LINE_IOCTL. > > Signed-off-by: Kent Gibson > --- [snip!] > + > +static irqreturn_t edge_irq_thread(int irq, void *p) > +{ > + struct edge_detector *edet = p; > +

[PATCH v2 07/18] gpiolib: cdev: support edge detection for uAPI v2

2020-07-24 Thread Kent Gibson
Add support for edge detection to lines requested using GPIO_GET_LINE_IOCTL. Signed-off-by: Kent Gibson --- The edge_detector implementation is based on the V1 lineevent implementation. drivers/gpio/gpiolib-cdev.c | 314 +++- drivers/gpio/gpiolib.c | 2 +