linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb: fix typos in code comments
@ 2019-05-19  3:55 Weitao Hou
  2019-05-21  6:29 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Weitao Hou @ 2019-05-19  3:55 UTC (permalink / raw)
  To: gregkh, robh+dt, mark.rutland
  Cc: linux-usb, devicetree, linux-kernel, Weitao Hou

fix lenght to length

Signed-off-by: Weitao Hou <houweitaoo@gmail.com>
---
 Documentation/devicetree/bindings/usb/s3c2410-usb.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/usb/s3c2410-usb.txt b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt
index e45b38ce2986..26c85afd0b53 100644
--- a/Documentation/devicetree/bindings/usb/s3c2410-usb.txt
+++ b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt
@@ -4,7 +4,7 @@ OHCI
 
 Required properties:
  - compatible: should be "samsung,s3c2410-ohci" for USB host controller
- - reg: address and lenght of the controller memory mapped region
+ - reg: address and length of the controller memory mapped region
  - interrupts: interrupt number for the USB OHCI controller
  - clocks: Should reference the bus and host clocks
  - clock-names: Should contain two strings
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [PATCH] usb: fix typos in code comments
@ 2019-05-18 11:46 Weitao Hou
  0 siblings, 0 replies; 3+ messages in thread
From: Weitao Hou @ 2019-05-18 11:46 UTC (permalink / raw)
  To: balbi, gregkh, Julia.Lawall, houweitaoo; +Cc: linux-usb, linux-kernel

fix lengh to length

Signed-off-by: Weitao Hou <houweitaoo@gmail.com>
---
 drivers/usb/gadget/udc/snps_udc_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers/usb/gadget/udc/snps_udc_core.c
index 3fcded31405a..2e84900d0b40 100644
--- a/drivers/usb/gadget/udc/snps_udc_core.c
+++ b/drivers/usb/gadget/udc/snps_udc_core.c
@@ -2734,7 +2734,7 @@ static irqreturn_t udc_control_in_isr(struct udc *dev)
 					/* write fifo */
 					udc_txfifo_write(ep, &req->req);
 
-					/* lengh bytes transferred */
+					/* length bytes transferred */
 					len = req->req.length - req->req.actual;
 					if (len > ep->ep.maxpacket)
 						len = ep->ep.maxpacket;
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-21  6:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-19  3:55 [PATCH] usb: fix typos in code comments Weitao Hou
2019-05-21  6:29 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2019-05-18 11:46 Weitao Hou

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).