Searched hist:b1c323b17820d48b84e8513ed594b3a020461f21 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | ether.c | b1c323b17820d48b84e8513ed594b3a020461f21 Tue Jan 22 15:48:16 UTC 2019 Jean-Jacques Hiblot <jjhiblot@ti.com> UPSTREAM: usb: ether: call _usb_eth_halt() if initialization fails
If the host does not respond in time, the initialization fails. However the usb ether driver will still be registered. This will make usb_gadget_probe_driver() fail the next time the initialization is attempted because it cannot find an available UDC.
Fixing this by calling _usb_eth_halt() when the init fails.
Change-Id: Id61795e444e12265657a8a070f48b35d4a9ca280 Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Acked-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 1c1464c2b19f1b96885040b8adc9cf5ba3c7b32d)
|