u-boot/drivers/usb/gadget/udc
Jean-Jacques Hiblot e81d9de531 usb: udc-uclass: Fixed problem when no alias is defined in DT
commit 801f1fa442 "dm: usb: udc: Use SEQ_ALIAS to index the USB gadget
ports" changed the way the udevice if found. It uses the alias to find
a udevice for a given USB port number. In the commit log it was stated
that if no alias is provided, the bind order will be used instead. However
it doesn't work. Fixing this by adding a call to uclass_get_device() if
uclass_get_device_by_seq() fails.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Tested-by: Vignesh R <vigneshr@ti.com>
2019-03-16 13:29:43 +01:00
..
Makefile dm: usb: gadget: Fix boot breakage on sunxi platforms 2019-01-10 18:53:03 +01:00
udc-core.c dm: usb: create a new UCLASS ID for USB gadget devices 2018-12-07 16:31:45 +01:00
udc-uclass.c usb: udc-uclass: Fixed problem when no alias is defined in DT 2019-03-16 13:29:43 +01:00