rv1126-uboot/drivers/usb/gadget/udc
Jean-Jacques Hiblot 95dc2be99c UPSTREAM: 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.

Change-Id: Ib2304c5ecd5d46089c3273ca3ecaa3f9eb5399f8
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Tested-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit e81d9de531fb4c7f14344736bd7568c954e64e14)
2020-01-07 17:24:56 +08:00
..
Makefile UPSTREAM: dm: usb: gadget: Fix boot breakage on sunxi platforms 2020-01-07 17:24:55 +08:00
udc-core.c UPSTREAM: dm: usb: create a new UCLASS ID for USB gadget devices 2020-01-07 17:24:54 +08:00
udc-uclass.c UPSTREAM: usb: udc-uclass: Fixed problem when no alias is defined in DT 2020-01-07 17:24:56 +08:00