From: Tom Rix <trix@redhat.com>
To: balbi@kernel.org, gregkh@linuxfoundation.org,
skhan@linuxfoundation.org, jakobkoschel@gmail.com,
christophe.jaillet@wanadoo.fr, peter.chen@kernel.or,
johan@kernel.org
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Tom Rix <trix@redhat.com>
Subject: [PATCH] usb: gadget: mv_udc_core: clean up comments
Date: Mon, 25 Apr 2022 09:17:49 -0400 [thread overview]
Message-ID: <20220425131749.1185511-1-trix@redhat.com> (raw)
Spelling replacements
occure occur
reqest to request
acces to access
Signed-off-by: Tom Rix <trix@redhat.com>
---
drivers/usb/gadget/udc/mv_udc_core.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/udc/mv_udc_core.c b/drivers/usb/gadget/udc/mv_udc_core.c
index fdb17d86cd65..f0f8835ed1e2 100644
--- a/drivers/usb/gadget/udc/mv_udc_core.c
+++ b/drivers/usb/gadget/udc/mv_udc_core.c
@@ -758,7 +758,7 @@ static void mv_prime_ep(struct mv_ep *ep, struct mv_req *req)
/* clear active and halt bit, in case set from a previous error */
dqh->size_ioc_int_sts &= ~(DTD_STATUS_ACTIVE | DTD_STATUS_HALTED);
- /* Ensure that updates to the QH will occure before priming. */
+ /* Ensure that updates to the QH will occur before priming. */
wmb();
bit_pos = 1 << (((ep_dir(ep) == EP_DIR_OUT) ? 0 : 16) + ep->ep_num);
@@ -1452,7 +1452,7 @@ udc_prime_status(struct mv_udc *udc, u8 direction, u16 status, bool empty)
req = udc->status_req;
- /* fill in the reqest structure */
+ /* fill in the request structure */
if (empty == false) {
*((u16 *) req->req.buf) = cpu_to_le16(status);
req->req.length = 2;
@@ -2171,7 +2171,7 @@ static int mv_udc_probe(struct platform_device *pdev)
return -EBUSY;
}
- /* we will acces controller register, so enable the clk */
+ /* we will access controller register, so enable the clk */
retval = mv_udc_enable_internal(udc);
if (retval)
return retval;
--
2.27.0
next reply other threads:[~2022-04-25 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-25 13:17 Tom Rix [this message]
2022-04-25 14:26 ` [PATCH] usb: gadget: mv_udc_core: clean up comments Shuah Khan
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=20220425131749.1185511-1-trix@redhat.com \
--to=trix@redhat.com \
--cc=balbi@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=gregkh@linuxfoundation.org \
--cc=jakobkoschel@gmail.com \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=peter.chen@kernel.or \
--cc=skhan@linuxfoundation.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