1. 11 4月, 2017 1 次提交
  2. 24 1月, 2017 2 次提交
  3. 12 1月, 2017 1 次提交
  4. 18 11月, 2016 1 次提交
  5. 31 5月, 2016 1 次提交
    • S
      usb: dwc3: exynos: Fix deferred probing storm. · 4879efb3
      Steinar H. Gunderson 提交于
      dwc3-exynos has two problems during init if the regulators are slow
      to come up (for instance if the I2C bus driver is not on the initramfs)
      and return probe deferral. First, every time this happens, the driver
      leaks the USB phys created; they need to be deallocated on error.
      
      Second, since the phy devices are created before the regulators fail,
      this means that there's a new device to re-trigger deferred probing,
      which causes it to essentially go into a busy loop of re-probing the
      device until the regulators come up.
      
      Move the phy creation to after the regulators have succeeded, and also
      fix cleanup on failure. On my ODROID XU4 system (with Debian's initramfs
      which doesn't contain the I2C driver), this reduces the number of probe
      attempts (for each of the two controllers) from more than 2000 to eight.
      Signed-off-by: NSteinar H. Gunderson <sesse@google.com>
      Reviewed-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Reviewed-by: NVivek Gautam <gautam.vivek@samsung.com>
      Fixes: d720f057 ("usb: dwc3: exynos: add nop transceiver support")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      4879efb3
  6. 29 7月, 2015 1 次提交
  7. 21 11月, 2014 3 次提交
  8. 06 11月, 2014 1 次提交
  9. 21 8月, 2014 1 次提交
  10. 15 5月, 2014 1 次提交
  11. 22 4月, 2014 3 次提交
  12. 19 12月, 2013 1 次提交
  13. 31 10月, 2013 2 次提交
  14. 09 8月, 2013 1 次提交
  15. 29 7月, 2013 1 次提交
    • F
      usb: dwc3: switch to GPL v2 only · 5945f789
      Felipe Balbi 提交于
      This is a Linux-only driver which makes use
      of GPL-only symbols. It makes no sense to
      maintain Dual BSD/GPL licensing for this driver.
      
      Considering that the amount of work to use this
      driver in any different operating system would likely
      be as large as developing the driver from scratch and
      considering that we depend on GPL-only symbols, we
      will switch over to a GPL v2-only license.
      
      Cc: Anton Tikhomirov <av.tikhomirov@samsung.com>
      Acked-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      5945f789
  16. 29 5月, 2013 1 次提交
  17. 17 5月, 2013 1 次提交
    • S
      USB: set device dma_mask without reference to global data · 3b9561e9
      Stephen Warren 提交于
      Many USB host drivers contain code such as:
      
      if (!pdev->dev.dma_mask)
              pdev->dev.dma_mask = &tegra_ehci_dma_mask;
      
      ... where tegra_ehci_dma_mask is a global. I suspect this code originated
      in commit 4a53f4e6 "USB: ehci-tegra: add probing through device tree" and
      was simply copied everywhere else.
      
      This works fine when the code is built-in, but can cause a crash when the
      code is in a module. The first module load sets up the dma_mask pointer,
      but if the module is removed and re-inserted, the value is now non-NULL,
      and hence is not updated to point at the new location, and hence points
      at a stale location within the previous module load address, which in
      turn causes a crash if the pointer is de-referenced.
      
      The simplest way of solving this seems to be to copy the code from
      ehci-platform.c, which uses the coherent_dma_mask as the target for the
      dma_mask pointer.
      Suggested-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NTony Prisk <linux@prisktech.co.nz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3b9561e9
  18. 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
  19. 18 3月, 2013 3 次提交
  20. 04 3月, 2013 1 次提交
  21. 25 1月, 2013 2 次提交
  22. 18 1月, 2013 1 次提交
  23. 22 11月, 2012 3 次提交
  24. 06 11月, 2012 2 次提交
  25. 31 10月, 2012 1 次提交
  26. 11 9月, 2012 1 次提交
  27. 22 6月, 2012 1 次提交
  28. 02 3月, 2012 1 次提交