WSL2-Linux-Kernel/drivers/usb/gadget/udc
Guido Kiener 091dacc3cc usb: gadget: net2272: Fix net2272_dequeue()
Restore the status of ep->stopped in function net2272_dequeue().

When the given request is not found in the endpoint queue
the function returns -EINVAL without restoring the state of
ep->stopped. Thus the endpoint keeps blocked and does not transfer
any data anymore.

This fix is only compile-tested, since we do not have a
corresponding hardware. An analogous fix was tested in the sibling
driver. See "usb: gadget: net2280: Fix net2280_dequeue()"

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Guido Kiener <guido.kiener@rohde-schwarz.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2019-03-20 08:50:42 +02:00
..
aspeed-vhub
bdc USB: changes for v5.1 merge window 2019-02-15 09:08:57 +01:00
Kconfig
Makefile
amd5536udc.h
amd5536udc_pci.c
at91_udc.c
at91_udc.h
atmel_usba_udc.c
atmel_usba_udc.h
bcm63xx_udc.c
core.c
dummy_hcd.c
fotg210-udc.c
fotg210.h
fsl_mxc_udc.c
fsl_qe_udc.c
fsl_qe_udc.h
fsl_udc_core.c
fsl_usb2_udc.h
fusb300_udc.c
fusb300_udc.h
goku_udc.c
goku_udc.h
gr_udc.c
gr_udc.h
lpc32xx_udc.c
m66592-udc.c
m66592-udc.h
mv_u3d.h
mv_u3d_core.c
mv_udc.h
mv_udc_core.c
net2272.c usb: gadget: net2272: Fix net2272_dequeue() 2019-03-20 08:50:42 +02:00
net2272.h
net2280.c usb: gadget: net2280: Fix net2280_dequeue() 2019-03-20 08:50:19 +02:00
net2280.h
omap_udc.c
omap_udc.h
pch_udc.c
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c
pxa27x_udc.h
r8a66597-udc.c
r8a66597-udc.h
renesas_usb3.c
s3c-hsudc.c
s3c2410_udc.c
s3c2410_udc.h
snps_udc_core.c
snps_udc_plat.c
trace.c
trace.h
udc-xilinx.c