summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Minnick <michael.minnick@freescale.com>2012-10-16 18:07:20 -0500
committerRobby Cai <R63905@freescale.com>2012-10-17 13:37:31 +0800
commit8b4b95597925c63126dec28162d5ac477d0c50bb (patch)
tree90575136864b9cd04a72c7e599256e8f8d1e43b2
parent79b9a3709de844e29dad16bcb6ae61455c669267 (diff)
ENGR00227965 EPDC: Init sequence leaves EDPC clocks on
A small logic bug prevents the init sequence from properly turning off the clocks. This leads to the clocks being always on if the first update does not complete due to the screen being blanked. Signed-off-by: Michael Minnick <michael.minnick@freescale.com>
-rw-r--r--drivers/video/mxc/mxc_epdc_fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/mxc/mxc_epdc_fb.c b/drivers/video/mxc/mxc_epdc_fb.c
index 727c6ebc575c..2df44041e65c 100644
--- a/drivers/video/mxc/mxc_epdc_fb.c
+++ b/drivers/video/mxc/mxc_epdc_fb.c
@@ -1166,6 +1166,8 @@ static void epdc_init_sequence(struct mxc_epdc_fb_data *fb_data)
fb_data->in_init = true;
epdc_powerup(fb_data);
draw_mode0(fb_data);
+ /* Force power down event */
+ fb_data->powering_down = true;
epdc_powerdown(fb_data);
fb_data->updates_active = false;
}