]> git.baikalelectronics.ru Git - uboot.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)
commit2361a47cd204bacdd025263bcc0ae3d021328c45
tree39610aaf82b646de4bd4d36068f0e8c6b4ef23c1
parent8fae2d750482c01b682d6a3effe2e9284ac6c8d4
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