07 Jan, 2009

1 commit


07 Aug, 2008

1 commit


15 May, 2008

1 commit

  • Various fixes to Atmel's high speed UDC driver.

    * Issue some missing disconnect() calls. Currently they are only made
    when VBUS power goes away (on boards where the driver can sense such
    changes), but that's not enough for gadget drivers to clean out all
    the state that's needed. Missing calls were:

    - After USB reset, before starting enumeration.
    - When unregistering a gadget driver, before unbind().

    * Don't assume gadget drivers provide disconnect callbacks; make sure
    to not call through a null pointer!

    * When the driver doesn't provide an unbind() callback, refuse to
    unregister it.

    Also remove two bogus "error" messages:

    * Related to mis-handling of disconnect() ... don't emit error messages
    for disconnect() handlers that disable endpoints. All of them should
    be doing that; the problem is (unfixed) oddness in atmel_usba_udc.

    * Don't emit a diagnostic for a curious and transient nonfatal error
    that shows up sometimes with EP0.

    Those messages spammed syslog, for no good reason.

    Signed-off-by: David Brownell
    Acked-by: Haavard Skinnemoen
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     

20 Apr, 2008

1 commit


11 Apr, 2008

1 commit

  • Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
    prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable usb
    peripheral drivers, to re-eable module auto loading.

    [dbrownell@users.sourceforge.net: registration fixes]
    Signed-off-by: Kay Sievers
    Signed-off-by: David Brownell
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kay Sievers
     

07 Apr, 2008

6 commits


02 Feb, 2008

1 commit


13 Oct, 2007

2 commits

  • Keep track of the device status (as returned by the GET_STATUS
    request) and allow it to be manipulated by set_selfpowered() as
    well as SET_FEATURE/CLEAR_FEATURE (for remote wakeup)

    Implement the wakeup() op, which refuses to do anything if the
    DEVICE_REMOTE_WAKEUP feature wasn't set by the host. Now this
    driver passes USBCV (at least, with gadget zero).

    Fix one more locking bug; lockdep is every developer's friend.

    Signed-off-by: Haavard Skinnemoen
    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Haavard Skinnemoen
     
  • This is a driver for the Atmel USBA UDC which can be found integrated
    on AT32AP700x AVR32 processors. For hardware documentation, please see
    the AT32AP7000 data sheet:

    http://www.atmel.com/dyn/resources/prod_documents/doc32003.pdf

    This is a dual speed controller (connects at high or full speed).
    The driver supports up to 7 control, bulk, interrupt and isochronous
    endpoints with some constraints. Bulk, interrupt and isochronous
    transfers are driven by DMA.

    Signed-off-by: Haavard Skinnemoen
    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Haavard Skinnemoen