diff options
author | Nicolas Ferre <nicolas.ferre@microchip.com> | 2017-08-31 14:51:40 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-09-28 12:39:22 +0300 |
commit | 6baeda120d90aa637b08f7604de104ab00ce9126 (patch) | |
tree | ebfaa4dc65dbbde45320c382aa5f787688cb8dcc /drivers/usb/wusbcore/rh.c | |
parent | addfc5823dbf3e6ed400e98e49c7e64b10e191d6 (diff) | |
download | linux-6baeda120d90aa637b08f7604de104ab00ce9126.tar.bz2 |
usb: gadget: udc: atmel: set vbus irqflags explicitly
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 the connection with host but only on some
bouncing signal conditions and thus lose connecting events.
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: stable <stable@vger.kernel.org> # v4.4+
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/wusbcore/rh.c')
0 files changed, 0 insertions, 0 deletions