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

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

Merge "disp: msm: dp: fix null check in atomic_check"

parents c15f3490 1470b160
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -504,7 +504,7 @@ int dp_connector_atomic_check(struct drm_connector *connector,
	struct drm_connector_state *old_state;
	struct drm_connector_state *c_state;

	if (!connector || !display || a_state)
	if (!connector || !display || !a_state)
		return -EINVAL;

	c_state = drm_atomic_get_new_connector_state(a_state, connector);