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

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

Merge "drm/msm/dsi-staging: remove unnecesary locks from commit path"

parents 721cb760 f5d09f30
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2677,9 +2677,6 @@ int dsi_ctrl_validate_timing(struct dsi_ctrl *dsi_ctrl,
		return -EINVAL;
	}

	mutex_lock(&dsi_ctrl->ctrl_lock);
	mutex_unlock(&dsi_ctrl->ctrl_lock);

	return rc;
}

+0 −8
Original line number Diff line number Diff line
@@ -2960,11 +2960,7 @@ int dsi_panel_get_phy_props(struct dsi_panel *panel,
		return -EINVAL;
	}

	mutex_lock(&panel->panel_lock);

	memcpy(phy_props, &panel->phy_props, sizeof(*phy_props));

	mutex_unlock(&panel->panel_lock);
	return rc;
}

@@ -2978,11 +2974,7 @@ int dsi_panel_get_dfps_caps(struct dsi_panel *panel,
		return -EINVAL;
	}

	mutex_lock(&panel->panel_lock);

	memcpy(dfps_caps, &panel->dfps_caps, sizeof(*dfps_caps));

	mutex_unlock(&panel->panel_lock);
	return rc;
}