From 91dce244a4b56b6a56ea1ea55d6fbef3e2ff6bf2 Mon Sep 17 00:00:00 2001 From: Rajat Gupta Date: Fri, 9 Oct 2020 14:13:07 +0530 Subject: [PATCH] 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 --- msm/dp/dp_ctrl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/msm/dp/dp_ctrl.c b/msm/dp/dp_ctrl.c index a7e7ebcc..f3a0196c 100644 --- a/msm/dp/dp_ctrl.c +++ b/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); }