diff options
| author | Bin Liu <b-liu@ti.com> | 2019-12-11 19:10:03 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-15 12:39:22 +0300 |
| commit | 09ed259fac621634d51cd986aa8d65f035662658 (patch) | |
| tree | 6eee39cbe678b575e5ebfcbf5f1777ddcf5b57a0 /net/lapb/lapb_iface.c | |
| parent | 54c4c69f0baa433233a0c33b4ed26bf0659bc5a5 (diff) | |
| download | linux-09ed259fac621634d51cd986aa8d65f035662658.tar.xz | |
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: stable@vger.kernel.org
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
