From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Subject: [PATCH 1/2] trivial: fix spelling in usb code
Date: Thu, 30 Aug 2012 13:13:59 +0200 [thread overview]
Message-ID: <1346325240-6037-2-git-send-email-s.trumtrar@pengutronix.de> (raw)
In-Reply-To: <1346325240-6037-1-git-send-email-s.trumtrar@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
commands/usb.c | 2 +-
drivers/usb/core/usb.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/commands/usb.c b/commands/usb.c
index d02ea4b..729a402 100644
--- a/commands/usb.c
+++ b/commands/usb.c
@@ -50,7 +50,7 @@ static int do_usb(int argc, char *argv[])
BAREBOX_CMD_HELP_START(usb)
BAREBOX_CMD_HELP_USAGE("usb [-f]\n")
BAREBOX_CMD_HELP_SHORT("Scan for USB devices.\n")
-BAREBOX_CMD_HELP_OPT("-f", "force. Rescan if if if have scanned once\n")
+BAREBOX_CMD_HELP_OPT("-f", "force. Rescan although scanned already\n")
BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(usb)
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index a5075d5..81ae9f1 100644
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -528,10 +528,10 @@ int usb_submit_int_msg(struct usb_device *dev, unsigned long pipe,
}
/*
- * submits a control message and waits for comletion (at least timeout * 1ms)
+ * submits a control message and waits for completion (at least timeout * 1ms)
* If timeout is 0, we don't wait for completion (used as example to set and
* clear keyboards LEDs). For data transfers, (storage transfers) we don't
- * allow control messages with 0 timeout, by previousely resetting the flag
+ * allow control messages with 0 timeout, by previously resetting the flag
* asynch_allowed (usb_disable_asynch(1)).
* returns the transfered length if OK or -1 if error. The transfered length
* and the current status are stored in the dev->act_len and dev->status.
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-08-30 11:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-30 11:13 [PATCH 0/2] trivial: correct spellings and grammar Steffen Trumtrar
2012-08-30 11:13 ` Steffen Trumtrar [this message]
2012-08-30 11:14 ` [PATCH 2/2] trivial: bootm: correct grammar in error message Steffen Trumtrar
2012-08-31 7:26 ` [PATCH 0/2] trivial: correct spellings and grammar Sascha Hauer
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=1346325240-6037-2-git-send-email-s.trumtrar@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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