1. 15 7月, 2013 1 次提交
  2. 02 4月, 2013 1 次提交
    • J
      usb: dwc3: add CONFIG_PM_SLEEP to suspend/resume functions · 19fda7cd
      Jingoo Han 提交于
      Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following
      build warning when CONFIG_PM_SLEEP is not selected. This is because
      sleep PM callbacks defined by SET_SYSTEM_SLEEP_PM_OPS are only used
      when the CONFIG_PM_SLEEP is enabled. Unnecessary CONFIG_PM ifdefs
      are removed.
      
      drivers/usb/dwc3/core.c:682:12: warning: 'dwc3_suspend' defined but not used [-Wunused-function]
      drivers/usb/dwc3/core.c:709:12: warning: 'dwc3_resume' defined but not used [-Wunused-function]
      drivers/usb/dwc3/dwc3-omap.c:430:12: warning: 'dwc3_omap_suspend' defined but not used [-Wunused-function]
      drivers/usb/dwc3/dwc3-omap.c:440:12: warning: 'dwc3_omap_resume' defined but not used [-Wunused-function]
      drivers/usb/dwc3/dwc3-exynos.c:185:12: warning: 'dwc3_exynos_suspend' defined but not used [-Wunused-function]
      drivers/usb/dwc3/dwc3-exynos.c:194:12: warning: 'dwc3_exynos_resume' defined but not used [-Wunused-function]
      Signed-off-by: NJingoo Han <jg1.han@samsung.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      19fda7cd
  3. 18 3月, 2013 7 次提交
  4. 04 3月, 2013 1 次提交
    • F
      usb: dwc3: core: don't forget to free coherent memory · d9b4330a
      Felipe Balbi 提交于
      commit 3921426b (usb: dwc3: core: move
      event buffer allocation out of
      dwc3_core_init()) introduced a memory leak
      of the coherent memory we use as event
      buffers on dwc3 driver.
      
      If the driver is compiled as a dynamically
      loadable module and use constantly loads
      and unloads the driver, we will continue
      to leak the coherent memory allocated during
      ->probe() because dwc3_free_event_buffers()
      is never called during ->remove().
      
      Cc: <stable@vger.kernel.org> # v3.7 v3.8
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      d9b4330a
  5. 25 1月, 2013 3 次提交
  6. 22 11月, 2012 3 次提交
  7. 16 11月, 2012 1 次提交
  8. 08 11月, 2012 1 次提交
  9. 31 10月, 2012 1 次提交
  10. 15 10月, 2012 3 次提交
  11. 11 9月, 2012 1 次提交
  12. 07 9月, 2012 1 次提交
  13. 31 8月, 2012 1 次提交
  14. 10 8月, 2012 1 次提交
  15. 22 6月, 2012 2 次提交
  16. 04 6月, 2012 1 次提交
  17. 24 4月, 2012 1 次提交
  18. 11 4月, 2012 1 次提交
  19. 03 3月, 2012 1 次提交
  20. 02 3月, 2012 5 次提交
  21. 29 2月, 2012 1 次提交
  22. 06 2月, 2012 1 次提交
    • F
      usb: dwc3: gadget: dynamically re-size TxFifos · 457e84b6
      Felipe Balbi 提交于
      We need to dynamically re-size TxFifos for the
      cases where default values will not do.
      
      While at that, we create a simple function which,
      for now, will just allocate one full packet fifo
      space for each of the enabled endpoints.
      
      This can be improved later in order to allow for
      better throughput by allocating more space for
      endpoints which could make good use of that like
      isochronous and bulk.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      457e84b6
  23. 15 12月, 2011 1 次提交