]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00210915 fb: mxc_elcdfb: fix screen flash when use fb_set_var
authorZhang Jiejing <jiejing.zhang@freescale.com>
Fri, 25 May 2012 09:03:02 +0000 (17:03 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:44 +0000 (08:34 +0200)
commit7d7ddd15954aa71c40a5e4f7c0e651a63ce42c0a
tree8705fdc896e60caddb4a982762c006b2891ec374
parent105afdc1e09fd41ac264d5ef20475c9555a753c0
ENGR00210915 fb: mxc_elcdfb: fix screen flash when use fb_set_var

fb_set_var() is used by android default display,
we found the screen will flash using android default
display support, found the root case was we init the
hardware (blank and unblank) the screen.

because fb_set_var() will call fb_set_par() every time,
we needs check only set the hardware register when needed,
then the android default image without any modify can works.

Also a build warnning fix.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/video/mxc/mxc_elcdif_fb.c