1. 11 12月, 2017 1 次提交
  2. 07 11月, 2017 1 次提交
    • G
      USB: dwc3: Remove redundant license text · b5ea4757
      Greg Kroah-Hartman 提交于
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Krzysztof Kozlowski <krzk@kernel.org>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Acked-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b5ea4757
  3. 04 11月, 2017 1 次提交
  4. 19 10月, 2017 1 次提交
  5. 18 9月, 2017 1 次提交
  6. 13 6月, 2017 1 次提交
  7. 02 6月, 2017 1 次提交
  8. 11 4月, 2017 4 次提交
  9. 24 1月, 2017 1 次提交
    • B
      usb: dwc3: ep0: Fix the possible missed request for handling delay STATUS phase · 53896798
      Baolin Wang 提交于
      When handing the SETUP packet by composite_setup(), we will release the
      dwc->lock. If we get the 'USB_GADGET_DELAYED_STATUS' result from setup
      function, which means we need to delay handling the STATUS phase.
      
      But during the lock release period, maybe the request for handling delay
      STATUS phase has been queued into list before we set 'dwc->delayed_status'
      flag or entering 'EP0_STATUS_PHASE' phase, then we will miss the chance
      to handle the STATUS phase. Thus we should check if the request for delay
      STATUS phase has been enqueued when entering 'EP0_STATUS_PHASE' phase in
      dwc3_ep0_xfernotready(), if so, we should handle it.
      Signed-off-by: NBaolin Wang <baolin.wang@linaro.org>
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      53896798
  10. 02 1月, 2017 2 次提交
  11. 18 11月, 2016 2 次提交
  12. 08 11月, 2016 1 次提交
  13. 03 11月, 2016 2 次提交
  14. 31 10月, 2016 3 次提交
  15. 20 6月, 2016 6 次提交
  16. 28 4月, 2016 1 次提交
  17. 18 4月, 2016 1 次提交
  18. 14 4月, 2016 2 次提交
  19. 04 3月, 2016 1 次提交
  20. 17 2月, 2016 1 次提交
    • J
      usb: dwc3: Fix assignment of EP transfer resources · c4509601
      John Youn 提交于
      The assignement of EP transfer resources was not handled properly in the
      dwc3 driver. Commit aebda618 ("usb: dwc3: Reset the transfer
      resource index on SET_INTERFACE") previously fixed one aspect of this
      where resources may be exhausted with multiple calls to SET_INTERFACE.
      However, it introduced an issue where composite devices with multiple
      interfaces can be assigned the same transfer resources for different
      endpoints. This patch solves both issues.
      
      The assignment of transfer resources cannot perfectly follow the data
      book due to the fact that the controller driver does not have all
      knowledge of the configuration in advance. It is given this information
      piecemeal by the composite gadget framework after every
      SET_CONFIGURATION and SET_INTERFACE. Trying to follow the databook
      programming model in this scenario can cause errors. For two reasons:
      
      1) The databook says to do DEPSTARTCFG for every SET_CONFIGURATION and
      SET_INTERFACE (8.1.5). This is incorrect in the scenario of multiple
      interfaces.
      
      2) The databook does not mention doing more DEPXFERCFG for new endpoint
      on alt setting (8.1.6).
      
      The following simplified method is used instead:
      
      All hardware endpoints can be assigned a transfer resource and this
      setting will stay persistent until either a core reset or hibernation.
      So whenever we do a DEPSTARTCFG(0) we can go ahead and do DEPXFERCFG for
      every hardware endpoint as well. We are guaranteed that there are as
      many transfer resources as endpoints.
      
      This patch triggers off of the calling dwc3_gadget_start_config() for
      EP0-out, which always happens first, and which should only happen in one
      of the above conditions.
      
      Fixes: aebda618 ("usb: dwc3: Reset the transfer resource index on SET_INTERFACE")
      Cc: <stable@vger.kernel.org> # v3.2+
      Reported-by: NRavi Babu <ravibabu@ti.com>
      Signed-off-by: NJohn Youn <johnyoun@synopsys.com>
      Signed-off-by: NFelipe Balbi <balbi@kernel.org>
      c4509601
  21. 15 12月, 2015 2 次提交
  22. 31 7月, 2015 4 次提交