diff options
author | Wesley Cheng <[email protected]> | 2021-10-27 13:10:07 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-10-30 10:55:55 +0200 |
commit | 9fff139aeb11186fd8e75860c959c86cb43ab2f6 (patch) | |
tree | 973e5ff6fe4e225d86f62f07e10353691e6fd202 /scripts/gdb | |
parent | b0d5d2a71641bb50cada708cc8fdca946a837e9a (diff) |
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.
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Wesley Cheng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions