aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-01 15:38:34 -0400
committerJiri Kosina <jkosina@suse.cz>2010-11-01 15:38:34 -0400
commitb595076a180a56d1bb170e6eceda6eb9d76f4cd3 (patch)
treebc01ec7283808013e0b8ce7713fd6fc40f810429 /drivers/usb/musb
parent6aaccece1c483f189f76f1282b3984ff4c7ecb0a (diff)
tree-wide: fix comment/printk typos
"gadget", "through", "command", "maintain", "maintain", "controller", "address", "between", "initiali[zs]e", "instead", "function", "select", "already", "equal", "access", "management", "hierarchy", "registration", "interest", "relative", "memory", "offset", "already", Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/musb_gadget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index 5d815049cbaa..1cbeaa17ffff 100644
--- a/drivers/usb/musb/musb_gadget.c
+++ b/drivers/usb/musb/musb_gadget.c
@@ -1636,7 +1636,7 @@ static inline void __init musb_g_init_endpoints(struct musb *musb)
1636 struct musb_hw_ep *hw_ep; 1636 struct musb_hw_ep *hw_ep;
1637 unsigned count = 0; 1637 unsigned count = 0;
1638 1638
1639 /* intialize endpoint list just once */ 1639 /* initialize endpoint list just once */
1640 INIT_LIST_HEAD(&(musb->g.ep_list)); 1640 INIT_LIST_HEAD(&(musb->g.ep_list));
1641 1641
1642 for (epnum = 0, hw_ep = musb->endpoints; 1642 for (epnum = 0, hw_ep = musb->endpoints;
@@ -1715,7 +1715,7 @@ void musb_gadget_cleanup(struct musb *musb)
1715 * 1715 *
1716 * -EINVAL something went wrong (not driver) 1716 * -EINVAL something went wrong (not driver)
1717 * -EBUSY another gadget is already using the controller 1717 * -EBUSY another gadget is already using the controller
1718 * -ENOMEM no memeory to perform the operation 1718 * -ENOMEM no memory to perform the operation
1719 * 1719 *
1720 * @param driver the gadget driver 1720 * @param driver the gadget driver
1721 * @param bind the driver's bind function 1721 * @param bind the driver's bind function