linux/drivers/usb
Wesley Cheng 8c9d9d8e44 FROMGIT: usb: gadget: f_mass_storage: Disable eps during disconnect
When receiving a disconnect event from the UDC, the mass storage
function driver currently runs the handle_exception() routine
asynchronously.  For UDCs that support runtime PM, there is a
possibility the UDC is already suspended by the time the
do_set_interface() is executed.  This can lead to HW register access
while the UDC is already suspended.

Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>

Bug: 204343836
(cherry picked from commit 9fff139aeb
 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing)
Change-Id: I6c8011baddf02d6b0eadb5934416bc24b8a93f4a
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2021-11-04 22:42:04 +00:00
..
atm
c67x00
cdns3 usb: cdns3: Fixed incorrect gadget state 2021-08-12 13:22:10 +02:00
chipidea usb: chipidea: imx: Fix Battery Charger 1.2 CDP detection 2021-06-23 14:42:50 +02:00
class USB: usbtmc: Fix RCU stall warning 2021-08-12 13:22:08 +02:00
common This is the 5.10.58 stable release 2021-08-12 14:58:34 +02:00
core Linux 5.10.61 2021-08-27 20:51:37 +02:00
dwc2 This is the 5.10.54 stable release 2021-07-28 15:23:47 +02:00
dwc3 FROMGIT: usb: dwc3: gadget: Skip resizing EP's TX FIFO if already resized 2021-10-25 12:02:09 -07:00
early
gadget FROMGIT: usb: gadget: f_mass_storage: Disable eps during disconnect 2021-11-04 22:42:04 +00:00
host UPSTREAM: usb: max-3421: Prevent corruption of freed memory 2021-10-12 12:26:40 -07:00
image
isp1760
misc USB: trancevibrator: fix control-request direction 2021-06-03 09:00:34 +02:00
mon
mtu3 usb: mtu3: fix the wrong HS mult value 2021-09-12 08:58:28 +02:00
musb usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling 2021-06-16 12:01:41 +02:00
phy usb: phy: tahvo: add IRQ check 2021-09-15 09:50:40 +02:00
renesas_usbhs usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 2021-07-28 14:35:44 +02:00
roles
serial USB: serial: mos7720: improve OOM-handling in read_mos_reg() 2021-09-12 08:58:26 +02:00
storage USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS 2021-07-28 14:35:43 +02:00
typec usb: typec: ucsi: Clear pending after acking connector change 2021-09-03 10:09:30 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c