Re: [PATCH v4 09/20] gpiolib: cdev: support edge detection for uAPI v2

2020-08-18 Thread Kent Gibson
On Sun, Aug 16, 2020 at 04:32:34PM +0200, Bartosz Golaszewski wrote: > On Fri, Aug 14, 2020 at 5:04 AM Kent Gibson wrote: > > > > Add support for edge detection to lines requested using > > GPIO_V2_GET_LINE_IOCTL. > > [snip] > > > > + /* event_buffer_size only valid with edge detection */ >

Re: [PATCH v4 09/20] gpiolib: cdev: support edge detection for uAPI v2

2020-08-16 Thread Bartosz Golaszewski
On Fri, Aug 14, 2020 at 5:04 AM Kent Gibson wrote: > > Add support for edge detection to lines requested using > GPIO_V2_GET_LINE_IOCTL. > > Signed-off-by: Kent Gibson > --- > > The edge_detector implementation is based on the v1 lineevent implementation. > > drivers/gpio/gpiolib-cdev.c | 316 ++