]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: dwc2: force reset assert before to probe the driver
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 29 Mar 2019 14:42:16 +0000 (15:42 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 21 Apr 2019 08:26:52 +0000 (10:26 +0200)
commitc2c74f97afff9351077f2236ab6fa5638de9bd86
tree39610aaf82b646de4bd4d36068f0e8c6b4ef23c1
parentc791c8431c34da803fdac4a308999879a6a33834
usb: dwc2: force reset assert before to probe the driver

Reset the hardware to be sure of the device state.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
drivers/usb/gadget/dwc2_udc_otg.c