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

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

Merge "drm/msm: check if primary_client is NULL pointer"

parents ca572241 1aee5ebf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ int get_sde_rsc_primary_crtc(int rsc_index)
	}

	rsc = rsc_prv_list[rsc_index];
	return rsc->primary_client->crtc_id;
	return rsc->primary_client ? rsc->primary_client->crtc_id : 0;
}
EXPORT_SYMBOL(get_sde_rsc_primary_crtc);