1. 11 5月, 2011 3 次提交
    • R
      usb: gadget: composite: Allow function drivers to pause control transfers · 1b9ba000
      Roger Quadros 提交于
      Some USB function drivers (e.g. f_mass_storage.c) need to delay or defer the
      data/status stages of standard control requests like SET_CONFIGURATION or
      SET_INTERFACE till they are done with their bookkeeping and are actually ready
      for accepting new commands to their interface.
      
      They can now achieve this functionality by returning USB_GADGET_DELAYED_STATUS
      in their setup handlers (e.g. set_alt()). The composite framework will then
      defer completion of the control transfer by not completing the data/status stages.
      
      This ensures that the host does not send new packets to the interface till the
      function driver is ready to take them.
      
      When the function driver that requested for USB_GADGET_DELAYED_STATUS is done
      with its bookkeeping, it should signal the composite framework to continue with
      the data/status stages of the control transfer. It can do so by invoking
      the new API usb_composite_setup_continue(). This is where the control transfer's
      data/status stages are completed and host can initiate new transfers.
      
      The DELAYED_STATUS mechanism is currently only supported if the expected data phase
      is 0 bytes (i.e. w_length == 0). Since SET_CONFIGURATION and SET_INTERFACE are the
      only cases that will use this mechanism, this is not a limitation.
      Signed-off-by: NRoger Quadros <roger.quadros@nokia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1b9ba000
    • G
      Merge branch 'for-usb-next' of... · 8eadef15
      Greg Kroah-Hartman 提交于
      Merge branch 'for-usb-next' of git+ssh://master.kernel.org/pub/scm/linux/kernel/git/sarah/xhci into usb-next
      
      * 'for-usb-next' of git+ssh://master.kernel.org/pub/scm/linux/kernel/git/sarah/xhci:
        xHCI 1.0: Max Exit Latency Too Large Error
        xHCI 1.0: TT_THINK_TIME set
        xHCI 1.0: Block Interrupts for Isoch transfer
        xHCI 1.0: Isoch endpoint CErr field set
        xHCI 1.0: Control endpoint average TRB length field set
        xHCI 1.0: Setup Stage TRB Transfer Type flag
      8eadef15
    • G
      Merge branch 2.6.39-rc7 into usb-linus · 8a1629c7
      Greg Kroah-Hartman 提交于
      This was needed to resolve a conflict in:
      	drivers/usb/host/isp1760-hcd.c
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8a1629c7
  2. 10 5月, 2011 31 次提交
  3. 09 5月, 2011 6 次提交