From: Peng Fan <peng.fan@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 2/3] test: dm: usb: use the real device name
Date: Wed, 22 May 2019 07:08:12 +0000 [thread overview]
Message-ID: <20190522072201.5130-2-peng.fan@nxp.com> (raw)
In-Reply-To: <20190522072201.5130-1-peng.fan@nxp.com>
"keyb" is not the real device name, "keyb at 3" is.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
V2:
New
test/dm/usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/dm/usb.c b/test/dm/usb.c
index 3493617544..ef454b0ae5 100644
--- 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 at 3",
&dev));
/*
--
2.16.4
next prev parent reply other threads:[~2019-05-22 7:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-22 7:08 [U-Boot] [PATCH V2 1/3] test: dm: adc: use the real device name Peng Fan
2019-05-22 7:08 ` Peng Fan [this message]
2019-05-22 7:50 ` [U-Boot] [PATCH V2 2/3] test: dm: usb: " Bin Meng
2019-07-14 13:07 ` Tom Rini
2019-05-22 7:08 ` [U-Boot] [PATCH V2 3/3] drivers: core: use strcmp when find device by name Peng Fan
2019-05-22 7:50 ` Bin Meng
2019-07-14 13:07 ` Tom Rini
2019-05-22 7:49 ` [U-Boot] [PATCH V2 1/3] test: dm: adc: use the real device name Bin Meng
2019-06-19 2:17 ` Peng Fan
2019-06-24 15:52 ` Tom Rini
2019-06-25 5:45 ` Peng Fan
2019-07-14 13:06 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190522072201.5130-2-peng.fan@nxp.com \
--to=peng.fan@nxp.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox