WSL2-Linux-Kernel/drivers/usb/cdns3
Pawel Laszczak cbd2aac004 usb: cdnsp: Fixes issue with dequeuing not queued requests
commit 34f08eb0ba upstream.

Gadget ACM while unloading module try to dequeue not queued usb
request which causes the kernel to crash.
Patch adds extra condition to check whether usb request is processed
by CDNSP driver.

cc: stable@vger.kernel.org
Fixes: 3d82904559 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Acked-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20230713081429.326660-1-pawell@cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-19 23:05:37 +02:00
..
Kconfig
Makefile
cdns3-debug.h
cdns3-ep0.c
cdns3-gadget.c usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config 2023-08-03 10:22:42 +02:00
cdns3-gadget.h usb: cdns3: allocate TX FIFO size according to composite EP number 2023-06-09 10:32:31 +02:00
cdns3-imx.c
cdns3-pci-wrap.c usb: cdns3: Fix issue with using incorrect PCI device function 2023-03-30 12:47:57 +02:00
cdns3-plat.c usb: cdns3: Put the cdns set active part outside the spin lock 2023-09-23 11:09:59 +02:00
cdns3-ti.c
cdns3-trace.c
cdns3-trace.h
cdnsp-debug.h
cdnsp-ep0.c usb: cdnsp: Fixes error: uninitialized symbol 'len' 2023-04-13 16:48:20 +02:00
cdnsp-gadget.c usb: cdnsp: Fixes issue with dequeuing not queued requests 2023-10-19 23:05:37 +02:00
cdnsp-gadget.h
cdnsp-mem.c
cdnsp-pci.c usb: cdns3: Put the cdns set active part outside the spin lock 2023-09-23 11:09:59 +02:00
cdnsp-ring.c usb: cdnsp: fix lack of ZLP for ep0 2022-12-31 13:14:46 +01:00
cdnsp-trace.c
cdnsp-trace.h
core.c usb: cdns3: Put the cdns set active part outside the spin lock 2023-09-23 11:09:59 +02:00
core.h usb: cdns3: Modify the return value of cdns_set_active () to void when CONFIG_PM_SLEEP is disabled 2023-10-19 23:05:35 +02:00
drd.c
drd.h
gadget-export.h
host-export.h
host.c usb: cdns3: host: fix endless superspeed hub port reset 2022-11-26 09:24:45 +01:00