]> 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)
commitb7025bea31e831f6fb30eec78d427350cc079370
treeb30010f498ea66c2ef29f90d6b39ace733cd187d
parent59b757b4c6aa2b2fa680958bad290d2d7855f1cc
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