瀏覽代碼

disp: msm: dp: reinit video_comp variable before using it again

Reinitialize video_comp completion variable before using it again
to wait for interrupt.

Change-Id: Ifc105eaa758d85ef604a440b3be7adfdafe7fc0f
Signed-off-by: Rajat Gupta <[email protected]>
Rajat Gupta 4 年之前
父節點
當前提交
91dce244a4
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      msm/dp/dp_ctrl.c

+ 1 - 0
msm/dp/dp_ctrl.c

@@ -866,6 +866,7 @@ static void dp_ctrl_host_deinit(struct dp_ctrl *dp_ctrl)
 
 static void dp_ctrl_send_video(struct dp_ctrl_private *ctrl)
 {
+	reinit_completion(&ctrl->video_comp);
 	ctrl->catalog->state_ctrl(ctrl->catalog, ST_SEND_VIDEO);
 }