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

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

Merge "drm/msm/shd: fix null pointer dereferenced"

parents 5be477e1 7550c294
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -616,6 +616,8 @@ static int shd_connector_get_modes(struct drm_connector *connector,
	drm_mode.vtotal = drm_mode.vsync_end;

	m = drm_mode_duplicate(disp->drm_dev, &drm_mode);
	if (!m)
		return 0;
	drm_mode_set_name(m);
	drm_mode_probed_add(connector, m);
	rc = shd_drm_update_edid_name(&edid, disp->name);