UPSTREAM: 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 9fff139a) Change-Id: I6c8011baddf02d6b0eadb5934416bc24b8a93f4a Signed-off-by:
Wesley Cheng <quic_wcheng@quicinc.com> (cherry picked from commit 8c9d9d8e)
Loading
Please sign in to comment