summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-dbg.c
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2018-05-16 14:48:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-24 18:23:02 +0200
commitf468b55cb72ddd69b08ecfc791046a6db5fde7b0 (patch)
tree45612f87480a83d530c9c580141a096aec3797c8 /drivers/usb/host/ohci-dbg.c
parentca7d9515d0e6825351ce106066cea1f60e40b1c8 (diff)
downloadlinux-stable-f468b55cb72ddd69b08ecfc791046a6db5fde7b0.tar.gz
linux-stable-f468b55cb72ddd69b08ecfc791046a6db5fde7b0.tar.bz2
linux-stable-f468b55cb72ddd69b08ecfc791046a6db5fde7b0.zip
usb: xhci: tegra: Prepare for adding runtime PM support
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: Jon Hunter <jonathanh@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-dbg.c')
0 files changed, 0 insertions, 0 deletions