From: Michael Minnick Date: Tue, 16 Oct 2012 23:07:20 +0000 (-0500) Subject: ENGR00227965 EPDC: Init sequence leaves EDPC clocks on X-Git-Tag: v3.0.35-fsl~332 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=38f2d11b7ff4665eb7ee1a8e588d6ef2a553b790;p=karo-tx-linux.git 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 --- 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; }