1. 04 10月, 2015 1 次提交
  2. 24 9月, 2015 1 次提交
  3. 23 9月, 2015 5 次提交
  4. 22 9月, 2015 19 次提交
  5. 16 9月, 2015 1 次提交
  6. 15 9月, 2015 2 次提交
    • N
      usb: chipidea: add xilinx zynq platform data · 84bc70f9
      Nathan Sullivan 提交于
      Due to having hardware tx buffers less than 512 bytes in size, streaming
      must be enabled on the Zynq for the udc to work at all.  Add platform data
      specific to the Zynq udc, which does not set the CI_HDRC_DISABLE_STREAMING
      flag.
      
      Based on a patch by the same name from the Xilinx vendor tree.
      Signed-off-by: NNathan Sullivan <nathan.sullivan@ni.com>
      Signed-off-by: NPeter Chen <peter.chen@freescale.com>
      84bc70f9
    • P
      usb: chipidea: udc: using the correct stall implementation · 56ffa1d1
      Peter Chen 提交于
      According to spec, there are functional and protocol stalls.
      
      For functional stall, it is for bulk and interrupt endpoints,
      below are cases for it:
      - Host sends SET_FEATURE request for Set-Halt, the udc driver
      needs to set stall, and return true unconditionally.
      - The gadget driver may call usb_ep_set_halt to stall certain
      endpoints, if there is a transfer in pending, the udc driver
      should not set stall, and return -EAGAIN accordingly.
      These two kinds of stall need to be cleared by host using CLEAR_FEATURE
      request (Clear-Halt).
      
      For protocol stall, it is for control endpoint, this stall will
      be set if the control request has failed. This stall will be
      cleared by next setup request (hardware will do it).
      
      It fixed usbtest (drivers/usb/misc/usbtest.c) Test 13 "set/clear halt"
      test failure, meanwhile, this change has been verified by
      USB2 CV Compliance Test and MSC Tests.
      
      Cc: <stable@vger.kernel.org> #3.10+
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Felipe Balbi <balbi@ti.com>
      Signed-off-by: NPeter Chen <peter.chen@freescale.com>
      56ffa1d1
  7. 14 9月, 2015 9 次提交
  8. 19 8月, 2015 2 次提交