1. 27 Apr, 2012 3 commits
    • Greg Kroah-Hartman's avatar
      Merge tag 'fixes-for-v3.4-rc5' of... · 41c8a48a
      Greg Kroah-Hartman authored
      Merge tag 'fixes-for-v3.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus
      
      usb: fixes for v3.4-rc cycle
      
      A few more fixes for v3.4-rc cycle.
      
      It includes a couple of fixes to the ordering of the methods in udc-core.c.
      Without these two patches, we will have issues when either unregistering a
      gadget driver (triggered with dummy_hcd only) or issuing a device-initiated
      disconnect through sysfs.
      
      There's also a fix on dummy_hcd to not call ->pullup() from udc_stop() because
      udc-core.c already handles that.
      
      A fix to MUSB as promised, to kill the compile warnings regarding deprecated
      interfaces. We are essentially dropping the __deprecated flag because it
      doesn't look like we will ever be able to live without it when we consider the
      amount of silicon issues we find on different MUSB instantiations.
      
      A couple of other fixes are also available, one adding the missing transceiver
      events to gpio_vbus and another adding a missing unregister call to MUSB's
      davinci glue layer.
      41c8a48a
    • Alan Stern's avatar
      usb: gadget: udc-core: fix incompatibility with dummy-hcd · 320cd1e7
      Alan Stern authored
      This patch (as1548) fixes a recently-introduced incompatibility
      between the UDC core and the dummy-hcd driver.  Commit
      8ae8090c (usb: gadget: udc-core: fix
      asymmetric calls in remove_driver) moved the usb_gadget_udc_stop()
      call in usb_gadget_remove_driver() below the usb_gadget_disconnect()
      call.
      
      As a result, usb_gadget_disconnect() gets called at a time when the
      gadget driver believes it has been unbound but dummy-hcd believes
      it has not.  A nasty error ensues when dummy-hcd calls the gadget
      driver's disconnect method a second time.
      
      To fix the problem, this patch moves the gadget driver's unbind
      notification after the usb_gadget_disconnect() call.  Now nothing
      happens between the two unbind notifications, so nothing goes wrong.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Tested-by: default avatarAlexander Shishkin <alexander.shishkin@linux.intel.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      320cd1e7
    • Felipe Balbi's avatar
      usb: gadget: udc-core: fix wrong call order · 83a787a7
      Felipe Balbi authored
      commit 6d258a4c (usb: gadget: udc-core: stop UDC on device-initiated
      disconnect) introduced another case of asymmetric calls when issuing
      a device-initiated disconnect. Fix it.
      Reported-by: default avatarBen Hutchings <ben@decadent.org.uk>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      83a787a7
  2. 26 Apr, 2012 1 commit
  3. 24 Apr, 2012 2 commits
  4. 21 Apr, 2012 23 commits
  5. 20 Apr, 2012 11 commits