]> git.dujemihanovic.xyz Git - u-boot.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)
commit82e7975b85bea1c2acccf30e6fd11e1a48a7e783
treea59e8c5d0a6fc97ff8e41775c77f36cc6bf5b79b
parent6048d42fa7a2b97913db9a033675bf267fb4e030
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