projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ee9df
)
test: dm: usb: use the real device name
author
Peng Fan
<peng.fan@nxp.com>
Wed, 22 May 2019 07:08:12 +0000
(07:08 +0000)
committer
Tom Rini
<trini@konsulko.com>
Sat, 13 Jul 2019 01:07:59 +0000
(21:07 -0400)
"keyb" is not the real device name, "keyb@3" is.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
test/dm/usb.c
patch
|
blob
|
history
diff --git
a/test/dm/usb.c
b/test/dm/usb.c
index 349361754491db168d4fd5dc851f79f546a037de..ef454b0ae581e6fceddc6a2803402f8c943e34e3 100644
(file)
--- a/
test/dm/usb.c
+++ b/
test/dm/usb.c
@@
-125,7
+125,7
@@
static int dm_test_usb_keyb(struct unit_test_state *uts)
/* Initially there should be no characters */
ut_asserteq(0, tstc());
- ut_assertok(uclass_get_device_by_name(UCLASS_USB_EMUL, "keyb",
+ ut_assertok(uclass_get_device_by_name(UCLASS_USB_EMUL, "keyb
@3
",
&dev));
/*