[v2,0/2] usb: dwc3: gadget: Improve dwc3_gadget_suspend/resume

Message ID 20230502162133.148821-1-rogerq@kernel.org
Headers
Series usb: dwc3: gadget: Improve dwc3_gadget_suspend/resume |

Message

Roger Quadros May 2, 2023, 4:21 p.m. UTC
  Hi,

This series improves suspend/resume handling
- check for error condition .suspend
- avoid Timeout error and delay in .suspend

Changelog:
v2:
- rebase on greg/usb-next
- split into 2 patches. Add Fixes tag and cc stable.
- do not check for !softconnect in error condition in dwc3_gadget_suspend()

Roger Quadros (2):
  usb: dwc3: gadget: Avoid controller stop in .suspend if !softconnect
  usb: dwc3: gadget: Improve dwc3_gadget_suspend() and
    dwc3_gadget_resume()

 drivers/usb/dwc3/gadget.c | 68 +++++++++++++++++++--------------------
 1 file changed, 34 insertions(+), 34 deletions(-)