linux/drivers/usb/dwc2
Vahram Aharonyan f0afdb4241 usb: dwc2: gadget: For DDMA parse setup only after SetUp interrupt
Tests with various hosts show that depend on time difference between
host sending SETUP packet and IN/OUT token SW could get Xfercomplete
interrupt without SetUp interrupt. On the other hand, SW should parse
received SETUP packet only after ensuring that Host has moved to either
Data or Status stage of control transfer.

For this purpose added checking in the dwc2_hsotg_epint() function to
not handle xfercomplete and postpone SETUP packet analysis till SW's
getting of setup phase done interrupt.

Signed-off-by: Vahram Aharonyan <vahrama@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2016-11-18 13:54:48 +02:00
..
core_intr.c usb: dwc2: Declare the core params struct statically 2016-11-18 13:54:11 +02:00
core.c usb: dwc2: Declare the core params struct statically 2016-11-18 13:54:11 +02:00
core.h usb: dwc2: gadget: Add DDMA isoc related fields to dwc2_hsotg_ep 2016-11-18 13:54:46 +02:00
debug.h
debugfs.c usb: dwc2: Use platform endianness when accessing registers 2015-09-27 10:54:31 -05:00
gadget.c usb: dwc2: gadget: For DDMA parse setup only after SetUp interrupt 2016-11-18 13:54:48 +02:00
hcd_ddma.c usb: dwc2: host: Rename MAX_DMA_DESC_SIZE to HOST_DMA_NBYTES_LIMIT 2016-11-18 13:54:19 +02:00
hcd_intr.c usb: dwc2: Rename the dma_enable parameter to host_dma 2016-11-18 13:54:13 +02:00
hcd_queue.c usb: dwc2: Fix coverity issue in hcd_queue.c 2016-11-18 13:54:17 +02:00
hcd.c usb: dwc2: Update DMA descriptor structure 2016-11-18 13:54:18 +02:00
hcd.h usb: dwc2: Update DMA descriptor structure 2016-11-18 13:54:18 +02:00
hw.h usb: dwc2: gadget: Enable the BNA interrupt 2016-11-18 13:54:47 +02:00
Kconfig USB: dwc2-usb: add USB_GADGET dependency 2016-06-29 11:11:41 +03:00
Makefile usb: dwc2: Add params.c file 2016-11-18 13:54:10 +02:00
params.c usb: dwc2: Remove reading in of invalid property 2016-11-18 13:54:44 +02:00
pci.c usb: dwc2: Deprecate g-use-dma binding 2016-11-18 13:54:17 +02:00
platform.c usb: dwc2: Remove dwc2_set_all_params function 2016-11-18 13:54:11 +02:00