1. 16 6月, 2009 2 次提交
  2. 29 5月, 2009 2 次提交
  3. 26 3月, 2009 1 次提交
  4. 25 3月, 2009 1 次提交
  5. 07 1月, 2009 1 次提交
  6. 07 8月, 2008 1 次提交
  7. 15 5月, 2008 1 次提交
    • D
      USB: atmel_usba_udc fixes, mostly disconnect() · 40517707
      David Brownell 提交于
      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: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      40517707
  8. 11 4月, 2008 1 次提交
  9. 07 4月, 2008 6 次提交
  10. 02 2月, 2008 1 次提交
  11. 13 10月, 2007 2 次提交