diff options
| author | Bin Liu <[email protected]> | 2019-12-11 16:10:03 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-01-15 09:39:22 +0000 |
| commit | 09ed259fac621634d51cd986aa8d65f035662658 (patch) | |
| tree | 6eee39cbe678b575e5ebfcbf5f1777ddcf5b57a0 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | usb: cdns3: Add streams support to cadence USB3 DRD driver (diff) | |
| download | kernel-09ed259fac621634d51cd986aa8d65f035662658.tar.gz kernel-09ed259fac621634d51cd986aa8d65f035662658.zip | |
usb: dwc3: turn off VBUS when leaving host mode
VBUS should be turned off when leaving the host mode.
Set GCTL_PRTCAP to device mode in teardown to de-assert DRVVBUS pin to
turn off VBUS power.
Fixes: 5f94adfeed97 ("usb: dwc3: core: refactor mode initialization to its own function")
Cc: [email protected]
Signed-off-by: Bin Liu <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
