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

Commit e6da8838 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/dp: check for aborted flag before controller power on"

parents 76bf746a 511f3202
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1112,6 +1112,11 @@ static int dp_ctrl_on(struct dp_ctrl *dp_ctrl, bool mst_mode, bool shallow)
	if (ctrl->power_on)
		goto end;

	if (atomic_read(&ctrl->aborted)) {
		rc = -EPERM;
		goto end;
	}

	ctrl->mst_mode = mst_mode;
	rate = ctrl->panel->link_info.rate;