linux/drivers/usb
Wesley Cheng c613c951e6 usb: dwc3: gadget: Execute gadget stop after halting the controller
[ Upstream commit 39674be56f ]

Do not call gadget stop until the poll for controller halt is
completed.  DEVTEN is cleared as part of gadget stop, so the intention to
allow ep0 events to continue while waiting for controller halt is not
happening.

Fixes: c96683798e ("usb: dwc3: ep0: Don't prepare beyond Setup stage")
Cc: stable@vger.kernel.org
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20230420212759.29429-2-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:53:26 +02:00
..
atm
c67x00
cdns3 usb: cdnsp: Fixes error: uninitialized symbol 'len' 2023-04-13 16:55:26 +02:00
chipidea usb: chipidea: fix missing goto in ci_hdrc_probe 2023-05-11 23:03:30 +09:00
class
common
core
dwc2
dwc3 usb: dwc3: gadget: Execute gadget stop after halting the controller 2023-05-17 11:53:26 +02:00
early
gadget usb: gadget: tegra-xudc: Fix crash in vbus_draw 2023-05-11 23:03:30 +09:00
host usb: host: xhci-rcar: remove leftover quirk handling 2023-05-11 23:03:27 +09:00
image
isp1760
misc
mon
mtu3 usb: mtu3: fix kernel panic at qmu transfer done irq handler 2023-05-11 23:03:30 +09:00
musb
phy
renesas_usbhs
roles
serial USB: serial: option: add UNISOC vendor and TOZED LT70C product 2023-05-01 08:26:27 +09:00
storage
typec usb: typec: altmodes/displayport: Fix configure initial pin assignment 2023-04-13 16:55:26 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c