Merge "usb: phy: msm: Disable runtime PM for root hub upon usb disconnect"

This commit is contained in:
Linux Build Service Account 2017-07-28 18:48:17 -07:00 committed by Gerrit - the friendly Code Review server
commit 0ee94ed17b
1 changed files with 2 additions and 0 deletions

View File

@ -2143,6 +2143,8 @@ static void msm_otg_start_host(struct usb_otg *otg, int on)
motg->inputs, otg->phy->state);
wake_up(&motg->host_suspend_wait);
pm_runtime_disable(&hcd->self.root_hub->dev);
pm_runtime_barrier(&hcd->self.root_hub->dev);
usb_remove_hcd(hcd);
if (pdata->enable_axi_prefetch)