android_kernel_samsung_a7y1.../drivers/usb/dwc3
Bin Liu ef7df27f4b usb: dwc3: turn off VBUS when leaving host mode
[ Upstream commit 09ed259fac621634d51cd986aa8d65f035662658 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:48:29 +02:00
..
core.c usb: dwc3: turn off VBUS when leaving host mode 2020-04-07 13:48:29 +02:00
core.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debug.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debug.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dwc3-exynos.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dwc3-keystone.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dwc3-omap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dwc3-pci.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dwc3-qcom.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dwc3-st.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ep0.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gadget.c usb: dwc3: gadget: Fix suspend/resume during device mode 2020-04-06 10:58:24 +02:00
gadget.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
host.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
otg.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
otg.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
platform_data.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trace.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ulpi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30