aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorStelian Pop <stelian@popies.net>2008-03-05 16:59:15 -0500
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-04-06 17:15:07 -0400
commit7a242471af4d15c2637025f0acd352c0a92a4cc4 (patch)
tree3e2fa4f5bd0b1d43b018d0ef00f24715d7e9a78a /drivers/usb/gadget
parent5d4c2707cf605fbf205b6d0a3c63d07204295f22 (diff)
atmel_usba_udc: Fix endpoint names.
The endpoints of the atmel_usba_udc driver do not have directional (in/out) or usage (ctrl/bulk/iso) restrictions, as their names incorrectly implied. Signed-off-by: Stelian Pop <stelian@popies.net> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/atmel_usba_udc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c
index 33a797bf413f..d5a2c5162915 100644
--- a/drivers/usb/gadget/atmel_usba_udc.c
+++ b/drivers/usb/gadget/atmel_usba_udc.c
@@ -999,13 +999,13 @@ static const struct usb_gadget_ops usba_udc_ops = {
999} 999}
1000 1000
1001static struct usba_ep usba_ep[] = { 1001static struct usba_ep usba_ep[] = {
1002 EP("ep0", 0, 64, 1, 0, 0), 1002 EP("ep0", 0, 64, 1, 0, 0),
1003 EP("ep1in-bulk", 1, 512, 2, 1, 1), 1003 EP("ep1", 1, 512, 2, 1, 1),
1004 EP("ep2out-bulk", 2, 512, 2, 1, 1), 1004 EP("ep2", 2, 512, 2, 1, 1),
1005 EP("ep3in-int", 3, 64, 3, 1, 0), 1005 EP("ep3-int", 3, 64, 3, 1, 0),
1006 EP("ep4out-int", 4, 64, 3, 1, 0), 1006 EP("ep4-int", 4, 64, 3, 1, 0),
1007 EP("ep5in-iso", 5, 1024, 3, 1, 1), 1007 EP("ep5", 5, 1024, 3, 1, 1),
1008 EP("ep6out-iso", 6, 1024, 3, 1, 1), 1008 EP("ep6", 6, 1024, 3, 1, 1),
1009}; 1009};
1010#undef EP 1010#undef EP
1011 1011