summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorb02247 <b02247@freescale.com>2012-07-17 15:22:33 +0800
committerb02247 <b02247@freescale.com>2012-07-18 10:42:47 +0800
commit3fb99edfabe05a47803eba7f39109b5eb86e25df (patch)
treebac88e099089adcbcb57ba1956af9c499dd21d7a
parent33dba6211a7390445c31f936bead6b96bf8c1faf (diff)
ENGR00217096 elcdif_fb:After resuming, the LCD doesnot work
When BLANK_UNBLANK, set FB_ACTIVATE_NOW and FB_ACTIVATE_FORCE flag Then the mxc_elcdif_fb_set_par will be executed by force, otherwise if the parameter is same then the mxc_elcdif_fb_set_par will do nothing. Signed-off-by: b02247 <b02247@freescale.com>
-rw-r--r--drivers/video/mxc/mxc_elcdif_fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/mxc/mxc_elcdif_fb.c b/drivers/video/mxc/mxc_elcdif_fb.c
index d127ff4ca7d6..9c3b7b99a411 100644
--- a/drivers/video/mxc/mxc_elcdif_fb.c
+++ b/drivers/video/mxc/mxc_elcdif_fb.c
@@ -1092,6 +1092,8 @@ static int mxc_elcdif_fb_blank(int blank, struct fb_info *info)
return ret;
if (blank == FB_BLANK_UNBLANK) {
+ info->var.activate = (info->var.activate & ~FB_ACTIVATE_MASK) |
+ FB_ACTIVATE_NOW | FB_ACTIVATE_FORCE;
ret = mxc_elcdif_fb_set_par(info);
if (ret)
return ret;