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

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

Merge "drm/msm/dsi-staging: Prevent holding mutex on error path"

parents 621061f0 f51f9a2f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6801,7 +6801,8 @@ int dsi_display_prepare(struct dsi_display *display)
	if (mode->dsi_mode_flags & DSI_MODE_FLAG_DMS) {
		if (display->is_cont_splash_enabled) {
			pr_err("DMS is not supposed to be set on first frame\n");
			return -EINVAL;
			rc = -EINVAL;
			goto error;
		}
		/* update dsi ctrl for new mode */
		rc = dsi_display_pre_switch(display);