Loading drivers/usb/phy/phy-msm-usb.c +10 −2 Original line number Diff line number Diff line Loading @@ -1169,7 +1169,15 @@ static int msm_otg_resume(struct msm_otg *motg) } wake_lock(&motg->wlock); /* Some platforms require BUS vote to enable/disable clocks */ /* * If we are resuming from the device bus suspend, restore * the max performance bus vote. Otherwise put a minimum * bus vote to satisfy the requirement for enabling clocks. */ if (motg->device_bus_suspend && debug_bus_voting_enabled) msm_otg_bus_vote(motg, USB_MAX_PERF_VOTE); else msm_otg_bus_vote(motg, USB_MIN_PERF_VOTE); /* Vote for TCXO when waking up the phy */ Loading Loading
drivers/usb/phy/phy-msm-usb.c +10 −2 Original line number Diff line number Diff line Loading @@ -1169,7 +1169,15 @@ static int msm_otg_resume(struct msm_otg *motg) } wake_lock(&motg->wlock); /* Some platforms require BUS vote to enable/disable clocks */ /* * If we are resuming from the device bus suspend, restore * the max performance bus vote. Otherwise put a minimum * bus vote to satisfy the requirement for enabling clocks. */ if (motg->device_bus_suspend && debug_bus_voting_enabled) msm_otg_bus_vote(motg, USB_MAX_PERF_VOTE); else msm_otg_bus_vote(motg, USB_MIN_PERF_VOTE); /* Vote for TCXO when waking up the phy */ Loading