1. 04 11月, 2014 3 次提交
  2. 24 10月, 2014 1 次提交
    • J
      usb: dwc3: gadget: Properly initialize LINK TRB · 1200a82a
      Jack Pham 提交于
      On ISOC endpoints the last trb_pool entry used as a
      LINK TRB is not getting zeroed out correctly due to
      memset being called incorrectly and in the wrong place.
      If pool allocated from DMA was not zero-initialized
      to begin with this will result in the size and ctrl
      values being random garbage. Call memset correctly after
      assignment of the trb_link pointer.
      
      Fixes: f6bafc6a ("usb: dwc3: convert TRBs into bitshifts")
      Cc: <stable@vger.kernel.org> # v3.4+
      Signed-off-by: NJack Pham <jackp@codeaurora.org>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      1200a82a
  3. 21 10月, 2014 3 次提交
  4. 25 9月, 2014 1 次提交
  5. 05 9月, 2014 4 次提交
  6. 04 9月, 2014 1 次提交
  7. 21 8月, 2014 1 次提交
  8. 10 7月, 2014 1 次提交
  9. 19 6月, 2014 1 次提交
  10. 15 5月, 2014 1 次提交
  11. 26 4月, 2014 3 次提交
  12. 16 4月, 2014 2 次提交
  13. 08 3月, 2014 2 次提交
  14. 06 3月, 2014 5 次提交
  15. 05 3月, 2014 4 次提交
  16. 18 12月, 2013 1 次提交
    • R
      usb: gadget: add "maxpacket_limit" field to struct usb_ep · e117e742
      Robert Baldyga 提交于
      This patch adds "maxpacket_limit" to struct usb_ep. This field contains
      maximum value of maxpacket supported by driver, and is set in driver probe.
      This value should be used by autoconfig() function, because value of field
      "maxpacket" is set to value from endpoint descriptor when endpoint becomes
      enabled. So when autoconfig() function will be called again for this endpoint,
      "maxpacket" value will contain wMaxPacketSize from descriptior instead of
      maximum packet size for this endpoint.
      
      For this reason this patch adds new field "maxpacket_limit" which contains
      value of maximum packet size (which defines maximum endpoint capabilities).
      This value is used in ep_matches() function used by autoconfig().
      
      Value of "maxpacket_limit" should be set in UDC driver probe function, using
      usb_ep_set_maxpacket_limit() function, defined in gadget.h. This function
      set choosen value to both "maxpacket_limit" and "maxpacket" fields.
      
      This patch modifies UDC drivers by adding support for maxpacket_limit.
      Signed-off-by: NRobert Baldyga <r.baldyga@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      e117e742
  17. 10 12月, 2013 1 次提交
  18. 26 11月, 2013 1 次提交
  19. 18 9月, 2013 1 次提交
  20. 29 7月, 2013 3 次提交