* [PATCH] usb: gadget: mv_udc_core: clean up comments
@ 2022-04-25 13:17 Tom Rix
2022-04-25 14:26 ` Shuah Khan
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rix @ 2022-04-25 13:17 UTC (permalink / raw)
To: balbi, gregkh, skhan, jakobkoschel, christophe.jaillet,
peter.chen, johan
Cc: linux-usb, linux-kernel, Tom Rix
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: gadget: mv_udc_core: clean up comments
2022-04-25 13:17 [PATCH] usb: gadget: mv_udc_core: clean up comments Tom Rix
@ 2022-04-25 14:26 ` Shuah Khan
0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2022-04-25 14:26 UTC (permalink / raw)
To: Tom Rix, balbi, gregkh, jakobkoschel, christophe.jaillet,
peter.chen, johan
Cc: linux-usb, linux-kernel, Shuah Khan
On 4/25/22 7:17 AM, Tom Rix wrote:
> Spelling replacements
> occure occur
> reqest to request
> acces to access
>
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
I get that this is a trivial spelling patch - however a proper
commit log is still imortant. Please write a proper one and
include some information on how your found these.
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-25 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 13:17 [PATCH] usb: gadget: mv_udc_core: clean up comments Tom Rix
2022-04-25 14:26 ` Shuah Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).