Commit 4091dff1 authored by Krishna Kurapati's avatar Krishna Kurapati Committed by Todd Kjos
Browse files

UPSTREAM: usb: dwc3: Remove DWC3 locking during gadget suspend/resume



Remove the need for making dwc3_gadget_suspend() and dwc3_gadget_resume()
to be called in a spinlock, as dwc3_gadget_run_stop() could potentially
take some time to complete.

Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20220901193625.8727-3-quic_wcheng@quicinc.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

(cherry picked from commit 5265397f)

Bug: 263189538
Change-Id: Ia28cf2f5dd1929a83812d685eec9a9008f8bc81d
Signed-off-by: default avatarKrishna Kurapati <quic_kriskura@quicinc.com>
parent 4fc39328
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment