Loading drivers/usb/pd/policy_engine.c +1 −2 Original line number Diff line number Diff line Loading @@ -1588,6 +1588,7 @@ static void usbpd_sm(struct work_struct *w) pd->vconn_enabled = false; } reset_vdm_state(pd); if (pd->current_dr == DR_UFP) stop_usb_peripheral(pd); else if (pd->current_dr == DR_DFP) Loading @@ -1596,8 +1597,6 @@ static void usbpd_sm(struct work_struct *w) pd->current_pr = PR_NONE; pd->current_dr = DR_NONE; reset_vdm_state(pd); if (pd->current_state == PE_ERROR_RECOVERY) /* forced disconnect, wait before resetting to DRP */ usleep_range(ERROR_RECOVERY_TIME * USEC_PER_MSEC, Loading Loading
drivers/usb/pd/policy_engine.c +1 −2 Original line number Diff line number Diff line Loading @@ -1588,6 +1588,7 @@ static void usbpd_sm(struct work_struct *w) pd->vconn_enabled = false; } reset_vdm_state(pd); if (pd->current_dr == DR_UFP) stop_usb_peripheral(pd); else if (pd->current_dr == DR_DFP) Loading @@ -1596,8 +1597,6 @@ static void usbpd_sm(struct work_struct *w) pd->current_pr = PR_NONE; pd->current_dr = DR_NONE; reset_vdm_state(pd); if (pd->current_state == PE_ERROR_RECOVERY) /* forced disconnect, wait before resetting to DRP */ usleep_range(ERROR_RECOVERY_TIME * USEC_PER_MSEC, Loading