Browse Source

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 năm trước cách đây
mục cha
commit
91dce244a4
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);
 }