linux_dsm_epyc7002/drivers/usb
Wesley Cheng 996a5782fa usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable
commit 5aef629704ad4d983ecf5c8a25840f16e45b6d59 upstream.

Ensure that dep->flags are cleared until after stop active transfers
is completed.  Otherwise, the ENDXFER command will not be executed
during ep disable.

Fixes: f09ddcfcb8c5 ("usb: dwc3: gadget: Prevent EP queuing while stopping transfers")
Cc: stable <stable@vger.kernel.org>
Reported-and-tested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Link: https://lore.kernel.org/r/1616610664-16495-1-git-send-email-wcheng@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-07 15:00:13 +02:00
..
atm
c67x00
cdns3 usb: cdns3: fix NULL pointer dereference on no platform data 2021-03-11 14:17:26 +01:00
chipidea usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data() 2021-01-12 20:18:19 +01:00
class USB: cdc-acm: fix use-after-free after probe failure 2021-04-07 15:00:12 +02:00
common
core USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem 2021-04-07 15:00:12 +02:00
dwc2 usb: dwc2: Prevent core suspend when port connection flag is 0 2021-04-07 15:00:13 +02:00
dwc3 usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable 2021-04-07 15:00:13 +02:00
early
gadget usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference 2021-04-07 15:00:12 +02:00
host usb: xhci-mtk: fix broken streams issue on 0.96 xHCI 2021-04-07 15:00:12 +02:00
image
isp1760
misc USB: yurex: fix control-URB timeout handling 2021-01-12 20:18:20 +01:00
mon
mtu3 usb: mtu3: fix memory corruption in mtu3_debugfs_regset() 2020-12-26 16:02:38 +01:00
musb usb: musb: Fix suspend with devices connected for a64 2021-04-07 15:00:12 +02:00
phy
renesas_usbhs usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM 2021-03-17 17:06:29 +01:00
roles
serial USB: serial: cp210x: add some more GE USB IDs 2021-03-17 17:06:30 +01:00
storage usb-storage: Add quirk to defeat Kindle's automatic unload 2021-03-25 09:04:14 +01:00
typec usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy- 2021-03-25 09:04:14 +01:00
usbip usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control() 2021-04-07 15:00:12 +02:00
Kconfig
Makefile
usb-skeleton.c