1. 19 3月, 2020 1 次提交
  2. 13 3月, 2020 1 次提交
  3. 22 1月, 2020 1 次提交
  4. 10 12月, 2019 10 次提交
  5. 18 11月, 2019 1 次提交
  6. 07 10月, 2019 2 次提交
  7. 04 10月, 2019 2 次提交
  8. 29 8月, 2019 1 次提交
  9. 18 6月, 2019 1 次提交
  10. 16 4月, 2019 2 次提交
  11. 21 2月, 2019 1 次提交
  12. 10 11月, 2018 1 次提交
    • M
      xhci: Fix leaking USB3 shared_hcd at xhci removal · f0680904
      Mathias Nyman 提交于
      Ensure that the shared_hcd pointer is valid when calling usb_put_hcd()
      
      The shared_hcd is removed and freed in xhci by first calling
      usb_remove_hcd(xhci->shared_hcd), and later
      usb_put_hcd(xhci->shared_hcd)
      
      Afer commit fe190ed0 ("xhci: Do not halt the host until both HCD have
      disconnected their devices.") the shared_hcd was never properly put as
      xhci->shared_hcd was set to NULL before usb_put_hcd(xhci->shared_hcd) was
      called.
      
      shared_hcd (USB3) is removed before primary hcd (USB2).
      While removing the primary hcd we might need to handle xhci interrupts
      to cleanly remove last USB2 devices, therefore we need to set
      xhci->shared_hcd to NULL before removing the primary hcd to let xhci
      interrupt handler know shared_hcd is no longer available.
      
      xhci-plat.c, xhci-histb.c and xhci-mtk first create both their hcd's before
      adding them. so to keep the correct reverse removal order use a temporary
      shared_hcd variable for them.
      For more details see commit 4ac53087 ("usb: xhci: plat: Create both
      HCDs before adding them")
      
      Fixes: fe190ed0 ("xhci: Do not halt the host until both HCD have disconnected their devices.")
      Cc: Joel Stanley <joel@jms.id.au>
      Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>
      Cc: Thierry Reding <treding@nvidia.com>
      Cc: Jianguo Sun <sunjianguo1@huawei.com>
      Cc: <stable@vger.kernel.org>
      Reported-by: NJack Pham <jackp@codeaurora.org>
      Tested-by: NJack Pham <jackp@codeaurora.org>
      Tested-by: NPeter Chen <peter.chen@nxp.com>
      Signed-off-by: NMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f0680904
  13. 19 10月, 2018 2 次提交
  14. 28 9月, 2018 1 次提交
  15. 25 6月, 2018 2 次提交
  16. 31 5月, 2018 1 次提交
  17. 25 5月, 2018 3 次提交
    • J
      usb: xhci: tegra: Add support for managing powergates · 58c38116
      Jon Hunter 提交于
      The Tegra XHCI controller requires that the XUSBA (for superspeed) and
      XUSBC (for host) power-domains are enabled. Commit 8df12745
      ("soc/tegra: pmc: Enable XUSB partitions on boot") was added to force
      on these power-domains if the XHCI driver is enabled while proper
      power-domain support is added, to ensure the device did not hang on
      boot. However, rather than forcing on these power-domains in the PMC
      driver we can use the legacy Tegra powergate APIs to turn on these
      power-domains during the probe of the Tegra XHCI driver.
      
      In the near future we plan to move the Tegra XHCI driver to use the
      generic PM domain framework for power-domains and so to prepare for
      this only use the legacy Tegra powergate API if there is not PM
      domain associated with device (ie. dev.pm_domain is NULL). Please
      note that in the future the superspeed and host resets will be handled
      by the generic PM domain provider and so these are only these are only
      needed in the case where there is no generic PM domain.
      Signed-off-by: NJon Hunter <jonathanh@nvidia.com>
      Acked-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      58c38116
    • J
      usb: xhci: tegra: Add runtime PM support · ee9e5f4c
      Jon Hunter 提交于
      Add runtime PM support to the Tegra XHCI driver and move the function
      calls to enable/disable the clocks, regulators and PHY into the runtime
      PM callbacks.
      Signed-off-by: NJon Hunter <jonathanh@nvidia.com>
      Acked-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ee9e5f4c
    • J
      usb: xhci: tegra: Prepare for adding runtime PM support · f468b55c
      Jon Hunter 提交于
      When adding runtime PM support to the Tegra XHCI driver, it is desirable
      to move the function calls to enable the clocks, regulators and PHY from
      the tegra_xusb_probe into the runtime PM handlers. Currently, the
      clocks, regulators and PHY are all enabled before we call
      usb_create_hcd() in tegra_xusb_probe(), however, we cannot call
      pm_runtime_get_sync() at this point because the platform device data is
      not yet initialised. Fortunately, the function usb_create_hcd() can be
      called before we enable the clocks, regulators and PHY and so prepare
      for adding runtime PM support, by moving the call to usb_create_hcd()
      before we enable the hardware.
      Signed-off-by: NJon Hunter <jonathanh@nvidia.com>
      Acked-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f468b55c
  18. 07 11月, 2017 1 次提交
    • G
      USB: host: xhci: Remove redundant license text · 9ed64195
      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: Matthias Brugger <matthias.bgg@gmail.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Acked-by: NMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9ed64195
  19. 04 11月, 2017 1 次提交
  20. 03 11月, 2017 1 次提交
  21. 10 3月, 2017 1 次提交
  22. 13 9月, 2016 1 次提交
  23. 31 8月, 2016 1 次提交
  24. 29 4月, 2016 1 次提交