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

Commit 35e54c70 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 unclocked register access with dsi_event_thread"

parents dd6766ab 089a3a18
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1431,8 +1431,10 @@ static int dsi_event_thread(void *data)

		if (todo & DSI_EV_MDP_FIFO_UNDERFLOW) {
			if (ctrl->recovery) {
				mdss_dsi_clk_ctrl(ctrl, DSI_ALL_CLKS, 1);
				mdss_dsi_sw_reset_restore(ctrl);
				ctrl->recovery->fxn(ctrl->recovery->data);
				mdss_dsi_clk_ctrl(ctrl, DSI_ALL_CLKS, 0);
			}
		}

@@ -1444,7 +1446,9 @@ static int dsi_event_thread(void *data)
			spin_unlock_irqrestore(&ctrl->mdp_lock, flag);

			/* enable dsi error interrupt */
			mdss_dsi_clk_ctrl(ctrl, DSI_ALL_CLKS, 1);
			mdss_dsi_err_intr_ctrl(ctrl, DSI_INTR_ERROR_MASK, 1);
			mdss_dsi_clk_ctrl(ctrl, DSI_ALL_CLKS, 0);
		}

	}