]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: Remove DWC3 locking during gadget suspend/resume
authorWesley Cheng <quic_wcheng@quicinc.com>
Thu, 1 Sep 2022 19:36:22 +0000 (12:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Sep 2022 14:26:44 +0000 (16:26 +0200)
commit639b26b94079b76799ebc8e0800aaf55d329caf6
treecef5c5b941a56d543af72c89d6ba7780b83af37c
parent3d20e7cb3193c3bcae5539f3626254cf9809f19f
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: Wesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20220901193625.8727-3-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/gadget.c