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

Commit 5600f37a authored by Jayant Shekhar's avatar Jayant Shekhar Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/sde: Fix clang compilation in SDE driver



Make change to ensure SDE driver compiles fine
with clang enabled.

Change-Id: I83cb2fef2b0ff8a4cdd1d77b180ebea4fef1b629
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 451613c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1871,7 +1871,7 @@ static void _sde_plane_install_properties(struct drm_plane *plane,
	}

	if (sde_is_custom_client()) {
		if (catalog->mixer_count && catalog->mixer &&
		if (catalog->mixer_count &&
				catalog->mixer[0].sblk->maxblendstages) {
			zpos_max = catalog->mixer[0].sblk->maxblendstages - 1;
			if (zpos_max > SDE_STAGE_MAX - SDE_STAGE_0 - 1)