]> git.baikalelectronics.ru Git - uboot.git/commit
usb: dwc2: disable external vbus supply when the device is removed
authorChristophe Kerello <christophe.kerello@st.com>
Thu, 15 Mar 2018 17:00:30 +0000 (18:00 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 17 Mar 2018 02:23:09 +0000 (03:23 +0100)
commit16e2c557fb66c3bc96617d34f5ead0e0d65bdcfb
treea59e8c5d0a6fc97ff8e41775c77f36cc6bf5b79b
parent2c2ff6b1981a48b4c00b83f1a08fdafe3e4a848b
usb: dwc2: disable external vbus supply when the device is removed

This patch adds an interface to disable the power in dwc2 driver.
This new interface is called when the device is removed.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/usb/host/dwc2.c