]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00227965 EPDC: Init sequence leaves EDPC clocks on
authorMichael Minnick <michael.minnick@freescale.com>
Tue, 16 Oct 2012 23:07:20 +0000 (18:07 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:36 +0000 (08:35 +0200)
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>
drivers/video/mxc/mxc_epdc_fb.c

index 727c6ebc575c5bf6cff56b983d8c2268cff2ebfb..2df44041e65ccc05464b28d4a74a052cb229fdce 100644 (file)
@@ -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;
 }