OSDN Git Service

usb: xhci: tegra: Fix runtime PM support
authorJon Hunter <jonathanh@nvidia.com>
Wed, 30 May 2018 15:11:42 +0000 (16:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 May 2018 10:45:22 +0000 (12:45 +0200)
commit380375b937211376f1dba4543460a14d3df9f04d
tree9236aa19774d21422c1c4372fc2a3bf3e4e9ffed
parent03e6275ae381087bd80e0058636c3762f8fbf372
usb: xhci: tegra: Fix runtime PM support

Fix silly mistake when enabling runtime PM support for the Tegra XHCI
driver. If runtime PM was enabled correctly for the XHCI device, then
we should call pm_runtime_get_sync() to enable the device.

Fixes: ee9e5f4c7825 ("usb: xhci: tegra: Add runtime PM support")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c