Skip to content
  • Andrew Victor's avatar
    USB: at91_udc, misc fixes · 29ba4b53
    Andrew Victor authored
    
    
    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: default avatarAndrew Victor <andrew@sanpeople.com>
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    29ba4b53