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: Jeevan Shriram <jshriram@codeaurora.org>
This commit is contained in:
parent
c362e7041c
commit
d3557847e8
1 changed files with 0 additions and 4 deletions
|
@ -2428,10 +2428,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) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue