Loading drivers/usb/dwc3/dwc3-msm.c +11 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,9 @@ #ifdef CONFIG_TUSB1064_XR_MISC #include "../../misc/tusb1064.h" #endif #ifdef CONFIG_VXR200_XR_MISC #include "../../misc/vxr7200.h" #endif #define SDP_CONNETION_CHECK_TIME 10000 /* in ms */ Loading Loading @@ -2966,6 +2969,10 @@ static void dwc3_resume_work(struct work_struct *w) #ifdef CONFIG_TUSB1064_XR_MISC tusb1064_usb_event(val.intval ? true : false); #endif #ifdef CONFIG_VXR200_XR_MISC vxr7200_usb_event(true); #endif } dbg_event(0xFF, "cc_state", mdwc->typec_orientation); Loading Loading @@ -4658,6 +4665,10 @@ static void dwc3_otg_sm_work(struct work_struct *w) } else { dwc3_msm_gadget_vbus_draw(mdwc, 0); dev_dbg(mdwc->dev, "Cable disconnected\n"); #ifdef CONFIG_VXR200_XR_MISC vxr7200_usb_event(false); #endif } break; Loading Loading
drivers/usb/dwc3/dwc3-msm.c +11 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,9 @@ #ifdef CONFIG_TUSB1064_XR_MISC #include "../../misc/tusb1064.h" #endif #ifdef CONFIG_VXR200_XR_MISC #include "../../misc/vxr7200.h" #endif #define SDP_CONNETION_CHECK_TIME 10000 /* in ms */ Loading Loading @@ -2966,6 +2969,10 @@ static void dwc3_resume_work(struct work_struct *w) #ifdef CONFIG_TUSB1064_XR_MISC tusb1064_usb_event(val.intval ? true : false); #endif #ifdef CONFIG_VXR200_XR_MISC vxr7200_usb_event(true); #endif } dbg_event(0xFF, "cc_state", mdwc->typec_orientation); Loading Loading @@ -4658,6 +4665,10 @@ static void dwc3_otg_sm_work(struct work_struct *w) } else { dwc3_msm_gadget_vbus_draw(mdwc, 0); dev_dbg(mdwc->dev, "Cable disconnected\n"); #ifdef CONFIG_VXR200_XR_MISC vxr7200_usb_event(false); #endif } break; Loading