1. 06 2月, 2012 1 次提交
    • F
      usb: dwc3: gadget: re-factor USB2 test mode to a function · 04a9bfcd
      Felipe Balbi 提交于
      There are some situations were we might need to
      enable USB Test Modes without having access to a
      Host stack. In such situations we cannot rely
      solely on USB Control Messages to enable test
      features.
      
      For those cases, we will also allow test mode
      to be enabled via debugfs and this patch is a
      preparation for that.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      04a9bfcd
  2. 24 1月, 2012 1 次提交
  3. 05 1月, 2012 1 次提交
    • F
      usb: ch9: fix up MaxStreams helper · 18b7ede5
      Felipe Balbi 提交于
      According to USB 3.0 Specification Table 9-22, if
      bmAttributes [4:0] are set to zero, it means "no
      streams supported", but the way this helper was
      defined on Linux, we will *always* have one stream
      which might cause several problems.
      
      For example on DWC3, we would tell the controller
      endpoint has streams enabled and yet start transfers
      with Stream ID set to 0, which would goof up the host
      side.
      
      While doing that, convert the macro to an inline
      function due to the different checks we now need.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      18b7ede5
  4. 21 12月, 2011 5 次提交
  5. 12 12月, 2011 12 次提交
  6. 15 11月, 2011 1 次提交
  7. 05 10月, 2011 9 次提交
  8. 09 9月, 2011 10 次提交