Patchwork [U-Boot] usb: ci_udc: fix typo in debug message

login
register
mail settings
Submitter Stephen Warren
Date June 25, 2014, 5:03 p.m.
Message ID <1403715798-4274-1-git-send-email-swarren@wwwdotorg.org>
Download mbox | patch
Permalink /patch/364077/
State Accepted
Delegated to: Marek Vasut
Headers show

Comments

Stephen Warren - June 25, 2014, 5:03 p.m.
From: Stephen Warren <swarren@nvidia.com>

s/ot/to/

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 drivers/usb/gadget/ci_udc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Marek Vasut - June 25, 2014, 8:20 p.m.
On Wednesday, June 25, 2014 at 07:03:18 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> s/ot/to/
> 
> Signed-off-by: Stephen Warren <swarren@nvidia.com>

Applied, thanks.

Best regards,
Marek Vasut

Patch

diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c
index c3f6467b7db4..a6433e8d2d8d 100644
--- a/drivers/usb/gadget/ci_udc.c
+++ b/drivers/usb/gadget/ci_udc.c
@@ -471,10 +471,10 @@  static int ci_ep_queue(struct usb_ep *ep,
 static void flip_ep0_direction(void)
 {
 	if (ep0_desc.bEndpointAddress == USB_DIR_IN) {
-		DBG("%s: Flipping ep0 ot OUT\n", __func__);
+		DBG("%s: Flipping ep0 to OUT\n", __func__);
 		ep0_desc.bEndpointAddress = 0;
 	} else {
-		DBG("%s: Flipping ep0 ot IN\n", __func__);
+		DBG("%s: Flipping ep0 to IN\n", __func__);
 		ep0_desc.bEndpointAddress = USB_DIR_IN;
 	}
 }