Anton Vorontsov af3ddbd763 USB: fsl_qe_udc: Fix stalled TX requests bug
While disabling an endpoint the driver nuking any pending requests,
thus completing them with -ESHUTDOWN status. But the driver doesn't
clear the tx_req, which means that a next TX request (after
ep_enable), might get stalled, since the driver won't queue the new
reqests.

This patch fixes a bug I'm observing with ethernet gadget while
playing with ifconfig usb0 up/down (the up/down sequence disables
and enables `in' and `out' endpoints).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-02-09 11:19:47 -08:00
..
2009-01-07 09:59:58 -08:00
2009-01-07 09:59:58 -08:00
2008-10-22 10:05:28 -07:00
2008-11-13 14:45:06 -08:00
2008-10-17 14:40:53 -07:00
2009-01-07 17:24:34 -08:00
2009-01-07 10:00:11 -08:00
2009-01-27 16:15:37 -08:00
2009-01-07 10:00:11 -08:00
2009-01-05 11:54:28 -05:00
2009-01-07 10:00:11 -08:00
2009-01-07 10:00:11 -08:00
2008-07-21 15:16:10 -07:00
2009-01-07 10:00:02 -08:00
2008-07-21 15:16:10 -07:00
2009-01-07 18:05:39 -08:00
2008-10-17 14:40:53 -07:00
2008-10-16 09:24:46 -07:00