]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: driver should not wait for RxFIFO to drain
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Fri, 30 Sep 2011 07:58:43 +0000 (10:58 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:25:53 +0000 (10:25 -0700)
commit4a780500787a957c48bbf96d1c9fd7f16f75ed5e
treeb30010f498ea66c2ef29f90d6b39ace733cd187d
parent55c3ee80cef081f0c7e717e2985f01cd50f25f02
usb: dwc3: gadget: driver should not wait for RxFIFO to drain

An older version of the databook said to wait for the FIFO to
drain, but that has been removed from the newer databooks.

Waiting for RxFIFO to drain caused problems when testing against
one of the host controllers available in the market.

After talking to one of the RTL engineers, he stated that we
should _not_ wait for RxFIFO to drain.

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/dwc3/gadget.c