summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorFrank Wang <frank.wang@rock-chips.com>2023-12-06 14:59:39 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-04 16:00:45 +0100
commit68c26fe58182f5af56bfa577d1cc0c949740baab (patch)
tree45fa54d64603289f2d56f4d2de10160852e416de /drivers/usb/cdns3/cdns3-ti.c
parent398aa9a7e77cf23c2a6f882ddd3dcd96f21771dc (diff)
usb: dwc3: set pm runtime active before resume common
For device mode, if PM runtime autosuspend feature enabled, the runtime power status of dwc3 may be suspended when run dwc3_resume(), and dwc3 gadget would not be configured in dwc3_gadget_run_stop(). It would cause gadget connected failed if USB cable has been plugged before PM resume. So move forward pm_runtime_set_active() to fix it. Signed-off-by: Frank Wang <frank.wang@rock-chips.com> Link: https://lore.kernel.org/r/20231206065939.16958-1-frank.wang@rock-chips.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions