From fb05612fe1f1b44e90bdf804a6534dc97e7d2ed4 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 30 Jan 2020 11:04:38 +0100 Subject: [PATCH] drop queue-4.4/usb-dwc3-turn-off-vbus-when-leaving-host-mode.patch --- queue-4.4/series | 1 - ...turn-off-vbus-when-leaving-host-mode.patch | 35 ------------------- 2 files changed, 36 deletions(-) delete mode 100644 queue-4.4/usb-dwc3-turn-off-vbus-when-leaving-host-mode.patch diff --git a/queue-4.4/series b/queue-4.4/series index 3700e842182..edf6141bcf5 100644 --- a/queue-4.4/series +++ b/queue-4.4/series @@ -4,7 +4,6 @@ rsi_91x_usb-fix-interface-sanity-check.patch usb-serial-ir-usb-add-missing-endpoint-sanity-check.patch usb-serial-ir-usb-fix-link-speed-handling.patch usb-serial-ir-usb-fix-irlap-framing.patch -usb-dwc3-turn-off-vbus-when-leaving-host-mode.patch staging-most-net-fix-buffer-overflow.patch staging-wlan-ng-ensure-error-return-is-actually-returned.patch staging-vt6656-correct-packet-types-for-cts-protect-mode.patch diff --git a/queue-4.4/usb-dwc3-turn-off-vbus-when-leaving-host-mode.patch b/queue-4.4/usb-dwc3-turn-off-vbus-when-leaving-host-mode.patch deleted file mode 100644 index cf5924a3e3e..00000000000 --- a/queue-4.4/usb-dwc3-turn-off-vbus-when-leaving-host-mode.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 09ed259fac621634d51cd986aa8d65f035662658 Mon Sep 17 00:00:00 2001 -From: Bin Liu -Date: Wed, 11 Dec 2019 10:10:03 -0600 -Subject: usb: dwc3: turn off VBUS when leaving host mode - -From: Bin Liu - -commit 09ed259fac621634d51cd986aa8d65f035662658 upstream. - -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 -Signed-off-by: Felipe Balbi -Signed-off-by: Greg Kroah-Hartman - ---- - drivers/usb/dwc3/core.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/drivers/usb/dwc3/core.c -+++ b/drivers/usb/dwc3/core.c -@@ -801,6 +801,9 @@ static void dwc3_core_exit_mode(struct d - /* do nothing */ - break; - } -+ -+ /* de-assert DRVVBUS for HOST and OTG mode */ -+ dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_DEVICE); - } - - #define DWC3_ALIGN_MASK (16 - 1) -- 2.47.3