diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2019-01-24 15:44:53 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-03-16 13:29:43 +0100 |
commit | e81d9de531fb4c7f14344736bd7568c954e64e14 (patch) | |
tree | a134db19bc4283861df53c25b204b876b38f0577 /include/tpm-v1.h | |
parent | 731785df0b68158c282d880de0a86d1db8aec118 (diff) |
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>
Diffstat (limited to 'include/tpm-v1.h')
0 files changed, 0 insertions, 0 deletions