msm: mdss: register for recovery handler in doze mode

The doze_suspend and stop state resets the
recovery handler. It is required to register it
again in doze mode because there can be frame
update in this power state.

Change-Id: I1bef7cdd63f21698aca18d326074ac3a0e4e5de4
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
Dhaval Patel 2015-11-17 17:02:17 -08:00 committed by David Keitel
parent c6db092d26
commit 87b75ecc2c

View file

@ -2125,6 +2125,10 @@ int mdss_mdp_cmd_stop(struct mdss_mdp_ctl *ctl, int panel_power_state)
* get turned on when the first update comes. * get turned on when the first update comes.
*/ */
pr_debug("%s: reset intf_stopped flag.\n", __func__); pr_debug("%s: reset intf_stopped flag.\n", __func__);
mdss_mdp_ctl_intf_event(ctl,
MDSS_EVENT_REGISTER_RECOVERY_HANDLER,
(void *)&ctx->intf_recovery,
CTL_INTF_EVENT_FLAG_DEFAULT);
ctx->intf_stopped = 0; ctx->intf_stopped = 0;
goto end; goto end;
} }