linux-stable/drivers/usb/dwc3
Johan Hovold 987a7dab83 usb: dwc3: of-simple: fix use-after-free on remove
[ Upstream commit 896e518883 ]

The clocks have already been explicitly disabled and put as part of
remove() so the runtime suspend callback must not be run when balancing
the runtime PM usage count before returning.

Fixes: 16adc674d0 ("usb: dwc3: add generic OF glue layer")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-24 13:08:57 +02:00
..
core.c usb: dwc3: Add SoftReset PHY synchonization delay 2018-05-25 16:17:39 +02:00
core.h usb: dwc3: Update DWC_usb31 GTXFIFOSIZ reg fields 2018-05-25 16:17:39 +02:00
debug.h usb: dwc3: trace: decode ctrl request 2017-06-02 11:22:29 +03:00
debugfs.c usb: dwc3: debugfs: slightly improve output of trb_ring 2017-06-02 11:22:28 +03:00
drd.c
dwc3-exynos.c usb: dwc3: exynos: Handle return value of clk_prepare_enable 2017-06-15 11:10:27 +03:00
dwc3-keystone.c usb: dwc3: keystone: Add PM_RUNTIME Support to DWC3 Keystone USB driver 2017-08-09 13:10:16 +03:00
dwc3-of-simple.c usb: dwc3: of-simple: fix use-after-free on remove 2018-08-24 13:08:57 +02:00
dwc3-omap.c usb: dwc3: omap: don't miss events during suspend/resume 2018-05-25 16:17:36 +02:00
dwc3-pci.c usb: dwc3: pci: add support for Intel IceLake 2018-08-24 13:08:56 +02:00
dwc3-st.c
ep0.c usb: dwc3: ep0: Reset TRB counter for ep0 IN 2018-02-28 10:19:43 +01:00
gadget.c usb: dwc3: gadget: Fix list_del corruption in dwc3_ep_dequeue 2018-05-09 09:51:54 +02:00
gadget.h usb: dwc3: update documentation 2017-06-02 11:22:27 +03:00
host.c
io.h
Kconfig
Makefile usb: dwc3: Makefile: fix link error on randconfig 2018-05-25 16:17:39 +02:00
trace.c
trace.h usb: dwc3: trace: decode ctrl request 2017-06-02 11:22:29 +03:00
ulpi.c usb: dwc3: ulpi: conditionally resume ULPI PHY 2017-06-13 13:21:05 +03:00