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

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

Merge "msm: mdss: Avoid dfps update till unblank is complete"

parents 7681397f 826fab1e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3508,7 +3508,8 @@ static ssize_t dynamic_fps_sysfs_wta_dfps(struct device *dev,
	struct mdss_overlay_private *mdp5_data = mfd_to_mdp5_data(mfd);
	struct dynamic_fps_data data = {0};

	if (!mdp5_data->ctl || !mdss_mdp_ctl_is_power_on(mdp5_data->ctl)) {
	if (!mdp5_data->ctl || !mdss_mdp_ctl_is_power_on(mdp5_data->ctl) ||
			mdss_panel_is_power_off(mfd->panel_power_state)) {
		pr_debug("panel is off\n");
		return count;
	}