diff --git a/drivers/video/msm/mdp4_overlay_dsi_cmd.c b/drivers/video/msm/mdp4_overlay_dsi_cmd.c index 3044d363321..7c4cff89269 100644 --- a/drivers/video/msm/mdp4_overlay_dsi_cmd.c +++ b/drivers/video/msm/mdp4_overlay_dsi_cmd.c @@ -673,7 +673,7 @@ ssize_t mdp4_dsi_cmd_show_event(struct device *dev, msecs_to_jiffies(VSYNC_PERIOD * 4)); if (ret <= 0) { vctrl->wait_vsync_cnt = 0; - return -EBUSY; + vctrl->vsync_time = ktime_get(); } spin_lock_irqsave(&vctrl->spin_lock, flags); diff --git a/drivers/video/msm/mdp4_overlay_dsi_video.c b/drivers/video/msm/mdp4_overlay_dsi_video.c index bcb020351d5..f023bb1bc0b 100644 --- a/drivers/video/msm/mdp4_overlay_dsi_video.c +++ b/drivers/video/msm/mdp4_overlay_dsi_video.c @@ -399,7 +399,7 @@ ssize_t mdp4_dsi_video_show_event(struct device *dev, msecs_to_jiffies(VSYNC_PERIOD * 4)); if (ret <= 0) { vctrl->wait_vsync_cnt = 0; - return -EBUSY; + vctrl->vsync_time = ktime_get(); } spin_lock_irqsave(&vctrl->spin_lock, flags); diff --git a/drivers/video/msm/mdp4_overlay_dtv.c b/drivers/video/msm/mdp4_overlay_dtv.c index 33813d8c397..20e769ae750 100644 --- a/drivers/video/msm/mdp4_overlay_dtv.c +++ b/drivers/video/msm/mdp4_overlay_dtv.c @@ -342,7 +342,7 @@ ssize_t mdp4_dtv_show_event(struct device *dev, msecs_to_jiffies(VSYNC_PERIOD * 4)); if (ret <= 0) { vctrl->wait_vsync_cnt = 0; - return -EBUSY; + vctrl->vsync_time = ktime_get(); } spin_lock_irqsave(&vctrl->spin_lock, flags); diff --git a/drivers/video/msm/mdp4_overlay_lcdc.c b/drivers/video/msm/mdp4_overlay_lcdc.c index 192570bc213..c3b82314017 100644 --- a/drivers/video/msm/mdp4_overlay_lcdc.c +++ b/drivers/video/msm/mdp4_overlay_lcdc.c @@ -384,7 +384,7 @@ ssize_t mdp4_lcdc_show_event(struct device *dev, msecs_to_jiffies(VSYNC_PERIOD * 4)); if (ret <= 0) { vctrl->wait_vsync_cnt = 0; - return -EBUSY; + vctrl->vsync_time = ktime_get(); } spin_lock_irqsave(&vctrl->spin_lock, flags);