usb: dwc2: gadget: fix packet drop issue for ISOC OUT transfers
authorMinas Harutyunyan <Minas.Harutyunyan@synopsys.com>
Tue, 12 Jun 2018 08:27:36 +0000 (12:27 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 18 Jun 2018 09:41:01 +0000 (12:41 +0300)
commit21cbbc6bb7b4ba6aee303a3b4aef1578253724d8
tree120c6b9006ca1e240f5d965557235465cdeb679b
parent615277779f41a753e68f531613e344c54fdc95bf
usb: dwc2: gadget: fix packet drop issue for ISOC OUT transfers

In ISOC OUT transfer, when the OUT token received while EP disabled,
we shouldn't complete a usb request. The current flow completed one
usb request, this will lead to a packet drop to function driver.

Signed-off-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c