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)
commit82828ca77b8b63b817d9bb540145a4cafa9be582
treeb30010f498ea66c2ef29f90d6b39ace733cd187d
parentb23c843992b659d537514e6493d673284f5d6724
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