linux-stable/drivers/usb/dwc2
John Youn 3fa9538539 Revert "usb: dwc2: gadget: fix TX FIFO size and address initialization"
This reverts commit aa381a7259 ("usb: dwc2: gadget: fix TX FIFO size
and address initialization").

The original commit removed the FIFO size programming per endpoint. The
DPTXFSIZn register is also used for DIEPTXFn and the SIZE field is r/w
in dedicated fifo mode. So it isn't appropriate to simply remove this
initialization as it might break existing behavior.

Also, some cores might not have enough fifo space to handle the
programming method used in the reverted patch, resulting in fifo
initialization failure.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Cc: Robert Baldyga <r.baldyga@samsung.com>
Cc: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2016-10-18 14:21:40 +03:00
..
core.c usb: dwc2: Add msleep for host-only 2016-10-17 12:30:29 +03:00
core.h Revert "usb: dwc2: gadget: fix TX FIFO size and address initialization" 2016-10-18 14:21:40 +03:00
core_intr.c usb: dwc2: host: Clear interrupts before handling them 2015-12-15 09:12:41 -06:00
debug.h usb: dwc2: move debugfs code to a separate file 2015-04-29 15:18:25 -05:00
debugfs.c usb: dwc2: Use platform endianness when accessing registers 2015-09-27 10:54:31 -05:00
gadget.c Revert "usb: dwc2: gadget: fix TX FIFO size and address initialization" 2016-10-18 14:21:40 +03:00
hcd.c usb: dwc2: Remove deprecated create_singlethread_workqueue 2016-08-25 12:13:09 +03:00
hcd.h usb: dwc2: host: Setting qtd to NULL after freeing it 2016-04-28 09:41:12 +03:00
hcd_ddma.c usb: dwc2: Fix issues in dwc2_complete_non_isoc_xfer_ddma() 2016-03-04 15:14:48 +02:00
hcd_intr.c usb: dwc2: host: If using uframe scheduler, end splits better 2016-03-04 15:14:45 +02:00
hcd_queue.c usb: dwc2: add printf attribute to cat_printf() 2016-06-29 11:11:07 +03:00
hw.h usb: dwc2: Add delay to core soft reset 2016-09-08 14:02:52 +03:00
Kconfig USB: dwc2-usb: add USB_GADGET dependency 2016-06-29 11:11:41 +03:00
Makefile usb: dwc2: remove dwc2_platform.ko 2015-04-29 15:20:11 -05:00
pci.c usb: dwc2: pci: Add device mode to the dwc2-pci driver 2015-03-11 15:08:17 -05:00
platform.c ARM: SoC: late DT updates for v4.9 2016-10-07 21:34:49 -07:00