Merge "usb: dwc3-msm: Resume PHY before notify_connect on start_host"
This commit is contained in:
commit
d1507b1236
1 changed files with 1 additions and 1 deletions
|
@ -3487,6 +3487,7 @@ static int dwc3_otg_start_host(struct dwc3_msm *mdwc, int on)
|
|||
if (on) {
|
||||
dev_dbg(mdwc->dev, "%s: turn on host\n", __func__);
|
||||
|
||||
pm_runtime_get_sync(mdwc->dev);
|
||||
mdwc->hs_phy->flags |= PHY_HOST_MODE;
|
||||
if (dwc->maximum_speed == USB_SPEED_SUPER) {
|
||||
mdwc->ss_phy->flags |= PHY_HOST_MODE;
|
||||
|
@ -3495,7 +3496,6 @@ static int dwc3_otg_start_host(struct dwc3_msm *mdwc, int on)
|
|||
}
|
||||
|
||||
usb_phy_notify_connect(mdwc->hs_phy, USB_SPEED_HIGH);
|
||||
pm_runtime_get_sync(mdwc->dev);
|
||||
dbg_event(0xFF, "StrtHost gync",
|
||||
atomic_read(&mdwc->dev->power.usage_count));
|
||||
if (!IS_ERR(mdwc->vbus_reg))
|
||||
|
|
Loading…
Add table
Reference in a new issue