summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-06-25 11:03:18 -0600
committerMarek Vasut <marex@denx.de>2014-06-25 22:22:20 +0200
commit83c3750088aced8e5439fe889b3b8de7edea3aa8 (patch)
treed057b87c04eb97a2e089062129e23ca66bbc7881
parentfb22ae6c7e0ffe438103c948c87c5ddf2ef56e7e (diff)
downloadu-boot-imx-83c3750088aced8e5439fe889b3b8de7edea3aa8.zip
u-boot-imx-83c3750088aced8e5439fe889b3b8de7edea3aa8.tar.gz
u-boot-imx-83c3750088aced8e5439fe889b3b8de7edea3aa8.tar.bz2
usb: ci_udc: fix typo in debug message
s/ot/to/ Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r--drivers/usb/gadget/ci_udc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c
index c3f6467..a6433e8 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;
}
}