Message ID | 20200518154931.6144-3-qais.yousef@arm.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 16bdc04cc98ab0c74392ceef2475ecc5e73fcf49 |
Headers | show |
Series | [RESEND,v2,1/3] usb/ohci-platform: Fix a warning when hibernating | expand |
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index e4fc3f66d43b..e9a49007cce4 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c @@ -455,6 +455,10 @@ static int ehci_platform_resume(struct device *dev) ehci_resume(hcd, priv->reset_on_resume); + pm_runtime_disable(dev); + pm_runtime_set_active(dev); + pm_runtime_enable(dev); + if (priv->quirk_poll) quirk_poll_init(priv);