mirror-linux/drivers/usb/dwc3
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
..
Kconfig
Makefile
core.c USB: dwc3: fix runtime pm imbalance on unbind 2023-05-11 23:03:00 +09:00
core.h USB: dwc3: fix memory leak with using debugfs_lookup() 2023-03-11 13:55:36 +01:00
debug.h USB: dwc3: fix memory leak with using debugfs_lookup() 2023-03-11 13:55:36 +01:00
debugfs.c USB: dwc3: fix memory leak with using debugfs_lookup() 2023-03-11 13:55:36 +01:00
drd.c
dwc3-am62.c
dwc3-exynos.c
dwc3-haps.c
dwc3-imx8mp.c
dwc3-keystone.c
dwc3-meson-g12a.c
dwc3-of-simple.c
dwc3-omap.c
dwc3-pci.c usb: dwc3: pci: add support for the Intel Meteor Lake-S 2023-04-13 16:55:26 +02:00
dwc3-qcom.c
dwc3-st.c
dwc3-xilinx.c
ep0.c
gadget.c usb: dwc3: gadget: Execute gadget stop after halting the controller 2023-05-17 11:53:26 +02:00
gadget.h
host.c
io.h
trace.c
trace.h
ulpi.c