Loading drivers/usb/dwc3/dwc3-msm.c +1 −1 Original line number Diff line number Diff line Loading @@ -4184,7 +4184,7 @@ static int dwc3_usb_blocking_sync(struct notifier_block *nb, dbg_event(0xFF, "fw_blocksync", 0); flush_work(&mdwc->resume_work); flush_delayed_work(&mdwc->sm_work); drain_workqueue(mdwc->sm_usb_wq); if (!mdwc->in_host_mode && !mdwc->in_device_mode) { dbg_event(0xFF, "lpm_state", atomic_read(&dwc->in_lpm)); Loading drivers/usb/pd/policy_engine.c +3 −0 Original line number Diff line number Diff line Loading @@ -2001,6 +2001,9 @@ static void dr_swap(struct usbpd *pd) start_usb_host(pd, true); pd->current_dr = DR_DFP; /* ensure host is started before allowing DP */ extcon_blocking_sync(pd->extcon, EXTCON_USB_HOST, 0); usbpd_send_svdm(pd, USBPD_SID, USBPD_SVDM_DISCOVER_IDENTITY, SVDM_CMD_TYPE_INITIATOR, 0, NULL, 0); } Loading Loading
drivers/usb/dwc3/dwc3-msm.c +1 −1 Original line number Diff line number Diff line Loading @@ -4184,7 +4184,7 @@ static int dwc3_usb_blocking_sync(struct notifier_block *nb, dbg_event(0xFF, "fw_blocksync", 0); flush_work(&mdwc->resume_work); flush_delayed_work(&mdwc->sm_work); drain_workqueue(mdwc->sm_usb_wq); if (!mdwc->in_host_mode && !mdwc->in_device_mode) { dbg_event(0xFF, "lpm_state", atomic_read(&dwc->in_lpm)); Loading
drivers/usb/pd/policy_engine.c +3 −0 Original line number Diff line number Diff line Loading @@ -2001,6 +2001,9 @@ static void dr_swap(struct usbpd *pd) start_usb_host(pd, true); pd->current_dr = DR_DFP; /* ensure host is started before allowing DP */ extcon_blocking_sync(pd->extcon, EXTCON_USB_HOST, 0); usbpd_send_svdm(pd, USBPD_SID, USBPD_SVDM_DISCOVER_IDENTITY, SVDM_CMD_TYPE_INITIATOR, 0, NULL, 0); } Loading