Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 624fcb29 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "fbdev : do not fail vsync ioctl when display in low power state"

parents 1b09f30a 8a7898cc
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -3300,9 +3300,8 @@ int mdss_mdp_overlay_vsync_ctrl(struct msm_fb_data_type *mfd, int en)
		goto end;
	}

	if (!ctl->panel_data->panel_info.cont_splash_enabled
		&& (!mdss_mdp_ctl_is_power_on(ctl) ||
		mdss_panel_is_power_on_ulp(ctl->power_state))) {
	if (!ctl->panel_data->panel_info.cont_splash_enabled &&
	    !mdss_mdp_ctl_is_power_on(ctl)) {
		pr_debug("fb%d vsync pending first update en=%d, ctl power state:%d\n",
				mfd->index, en, ctl->power_state);
		rc = -EPERM;