]> git.baikalelectronics.ru Git - kernel.git/commit
USB: at91_udc, misc fixes
authorAndrew Victor <andrew@sanpeople.com>
Fri, 8 Dec 2006 06:44:38 +0000 (22:44 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Dec 2006 18:14:27 +0000 (10:14 -0800)
commitd5303b6629017765eea1eb35bf9c6abc01fba9b1
tree159f814dcf4b500cd0dca369bd39af9cfdcec266
parent4053fbbcc8dfd394bd3c5eb2ce861cf7b16aec9c
USB: at91_udc, misc fixes

This is an update to the AT91 USB Device (Gadget) driver.

Adds support for the Atmel AT91SAM9260 and AT91SAM9261 processors.  The
only difference is how they handle the pullup pin.
[Patch from Patrice Vilchez]

Need to clear any pending USB Device interrupts before registering the
interrupt handler.  The bootloader might have been using the USB Device
port.   [Patch from Peer Georgi]

VBUS detection is handled by a GPIO interrupt which only triggers on a
change. Is is therefore necessary to read the current VBUS state
explicitly at startup.  [Patch from Peer Georgi]

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/at91_udc.h