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

Commit 8f5d49a7 authored by Jeevan Shriram's avatar Jeevan Shriram
Browse files

mdss: fb: Correct the error check for RGBA format



Currently it is failing RGBA format though it is valid
condition.

Change-Id: I2ee26a4f3fbef3d001e5f9ff1ebdc7fd093c3a26
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent 70d51296
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2418,10 +2418,6 @@ static int mdss_fb_check_var(struct fb_var_screeninfo *var,
			(var->blue.offset == 0) &&
			(var->green.offset == 8) &&
			(var->red.offset == 16)) &&
		    !((var->transp.offset == 0) &&
			(var->blue.offset == 24) &&
			(var->green.offset == 16) &&
			(var->red.offset == 8)) &&
		    !((var->transp.offset == 24) &&
			(var->blue.offset == 16) &&
			(var->green.offset == 8) &&