mirror-linux/drivers/usb
Pawel Laszczak 033c0d5101 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:08:58 +02:00
..
atm
c67x00
cdns3 usb: cdnsp: Fixes issue with dequeuing not queued requests 2023-10-19 23:08:58 +02:00
chipidea usb: chipidea: add workaround for chipidea PEC bug 2023-09-23 11:11:07 +02:00
class
common usb: common: usb-conn-gpio: Prevent bailing out if initial role is none 2023-08-16 18:27:24 +02:00
core usb: hub: Guard against accesses to uninitialized BOS descriptors 2023-10-19 23:08:55 +02:00
dwc2 usb: dwc2: Fix some error handling paths 2023-07-19 16:21:49 +02:00
dwc3 usb: dwc3: Soft reset phy on probe for host 2023-10-19 23:08:54 +02:00
early
gadget usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call 2023-10-19 23:08:58 +02:00
host usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer 2023-10-19 23:08:54 +02:00
image
isp1760
misc usb: misc: ehset: fix wrong if condition 2023-08-03 10:24:10 +02:00
mon
mtu3
musb usb: musb: Modify the "HWVers" register address 2023-10-19 23:08:55 +02:00
phy usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host() 2023-09-13 09:42:51 +02:00
renesas_usbhs
roles Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection" 2023-07-19 16:21:56 +02:00
serial USB: serial: option: add FOXCONN T99W368/T99W373 product 2023-09-06 21:27:00 +01:00
storage usb-storage: alauda: Fix uninit-value in alauda_check_media() 2023-08-16 18:27:24 +02:00
typec usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command fails 2023-10-19 23:08:58 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c