]> git.baikalelectronics.ru Git - kernel.git/commit
USB: at91_udc: use helper functions to determine endpoint type and direction
authorMatthias Kaehlcke <matthias@kaehlcke.net>
Wed, 15 Apr 2009 20:28:02 +0000 (22:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:42 +0000 (21:44 -0700)
commit09aea093e206463d8ce648db903d71d38ddda1ba
tree687b6d859e3f22dc3288e0fa60b72f45f9caa93e
parenta57b43655d7d4cc04138334b0a00f59de1283a4b
USB: at91_udc: use helper functions to determine endpoint type and direction

Use helper functions to determine the type and direction of an endpoint
instead of fiddling with bEndpointAddress and bmAttributes

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/at91_udc.c