android_kernel_xiaomi_sm8350/drivers/usb/gadget
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
..
amd5536udc.c
amd5536udc.h
at91_udc.c
at91_udc.h
atmel_usba_udc.c
atmel_usba_udc.h
cdc2.c
ci13xxx_udc.c USB: gadget: MIPS ci13xxx_udc 2009-01-07 09:59:58 -08:00
ci13xxx_udc.h USB: gadget: MIPS ci13xxx_udc 2009-01-07 09:59:58 -08:00
composite.c USB: composite: Fix bug: low byte of w_index is the usb interface number not the whole 2 bytes of w_index 2009-01-27 16:15:35 -08:00
config.c
dummy_hcd.c
epautoconf.c USB: gadget: change simple_strtol to simple_strtoul 2009-01-07 09:59:58 -08:00
ether.c
f_acm.c
f_ecm.c
f_loopback.c
f_obex.c
f_phonet.c phonet: update to net_device_ops 2009-01-07 17:24:34 -08:00
f_rndis.c
f_serial.c
f_sourcesink.c
f_subset.c
file_storage.c USB: gadget: don't wait for completion twice 2009-01-07 10:00:03 -08:00
fsl_qe_udc.c USB: fsl_qe_udc: Fix stalled TX requests bug 2009-02-09 11:19:47 -08:00
fsl_qe_udc.h
fsl_usb2_udc.c
fsl_usb2_udc.h
g_zero.h
gadget_chips.h USB: add imx udc gadget driver 2009-01-07 10:00:11 -08:00
gmidi.c
goku_udc.c USB: Fix goku_udc usb speed handling 2009-01-07 10:00:13 -08:00
goku_udc.h
imx_udc.c USB: GADGET: fix !x & y 2009-01-27 16:15:37 -08:00
imx_udc.h USB: add imx udc gadget driver 2009-01-07 10:00:11 -08:00
inode.c
Kconfig USB: add imx udc gadget driver 2009-01-07 10:00:11 -08:00
lh7a40x_udc.c
lh7a40x_udc.h
m66592-udc.c
m66592-udc.h
Makefile USB: add imx udc gadget driver 2009-01-07 10:00:11 -08:00
ndis.h
net2280.c
net2280.h
omap_udc.c USB: otg: add otg_put_transceiver() 2009-01-07 10:00:02 -08:00
omap_udc.h
printer.c
pxa25x_udc.c USB: gadget: pxa25x_udc vbus sense initialization 2009-01-07 10:00:02 -08:00
pxa25x_udc.h
pxa27x_udc.c USB: gadget: pxa27x_udc.c: cleanup kernel-doc 2009-01-07 09:59:54 -08:00
pxa27x_udc.h
rndis.c
rndis.h
s3c2410_udc.c USB: gadget: s3c2410_udc uses standard GPIO calls 2009-01-07 10:00:02 -08:00
s3c2410_udc.h
serial.c
u_ether.c gadget: convert devices to new API 2009-01-07 18:05:39 -08:00
u_ether.h
u_phonet.h
u_serial.c
u_serial.h
usbstring.c
zero.c