[PATCH RESEND new email address] usb: gadget: udc: atmel: set vbus irqflags explicitly

2017-08-31 Thread Nicolas Ferre
The driver triggers actions on both edges of the vbus signal. The former PIO controller was triggering IRQs on both falling and rising edges by default. Newer PIO controller don't, so it's better to set it explicitly to IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING. Without this patch we may trigger

Re: [PATCH RESEND new email address] usb: gadget: udc: atmel: set vbus irqflags explicitly

2017-08-31 Thread Ludovic Desroches
On Thu, Aug 31, 2017 at 02:51:40PM +0200, Nicolas Ferre wrote: > The driver triggers actions on both edges of the vbus signal. > > The former PIO controller was triggering IRQs on both falling and rising edges > by default. Newer PIO controller don't, so it's better to set it explicitly to > IRQF_