OSDN Git Service

usb: xhci: tegra: Add runtime PM support
authorJon Hunter <jonathanh@nvidia.com>
Wed, 16 May 2018 13:48:54 +0000 (14:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 May 2018 16:23:02 +0000 (18:23 +0200)
commitee9e5f4c78259d25dae0c813d771de6a4a203ddc
tree27a2147144bfa5546757d66849484830176cd608
parentf468b55cb72ddd69b08ecfc791046a6db5fde7b0
usb: xhci: tegra: Add runtime PM support

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: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c