diff --git a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c index 1c3fcba9d0f8..05a497951407 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c +++ b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c @@ -861,8 +861,11 @@ int mdss_mdp_resource_control(struct mdss_mdp_ctl *ctl, u32 sw_event) * 1. Early wakeup cancelled the gate work. * 2. Early wakeup cancelled the off work. * 3. Early wakeup changed the state to ON. + * + * Driver will not allow off work under one condition: + * 1. Kickoff is pending. */ - if (schedule_off) { + if (schedule_off && !ctl->mfd->validate_pending) { /* * Schedule off work after cmd mode idle timeout is * reached. This is to prevent the case where early wake