rk29fb:close win0 win1 when suspend to fix display old frame when resume
authoryzq <yzq@rock-chips.com>
Fri, 14 Oct 2011 04:41:07 +0000 (12:41 +0800)
committeryzq <yzq@rock-chips.com>
Fri, 14 Oct 2011 04:41:07 +0000 (12:41 +0800)
drivers/video/rk29_fb.c

index 250a4ed8af525ab3eae673a87efe8ea2da8acc2c..6d166648465882283ed54d2f749a1a0d76b0a8d3 100755 (executable)
@@ -2814,6 +2814,7 @@ static void rk29fb_early_suspend(struct early_suspend *h)
                fbprintk(">>>>>> power down the screen! \n");
                inf->cur_screen->standby(1);
        }
+       LcdMskReg(inf, SYS_CONFIG, m_W0_ENABLE | m_W1_ENABLE, v_W0_ENABLE(0) | v_W1_ENABLE(0));
 
     LcdMskReg(inf, DSP_CTRL0, m_HSYNC_POLARITY | m_VSYNC_POLARITY | m_DEN_POLARITY ,
        v_HSYNC_POLARITY(1) | v_VSYNC_POLARITY(1) | v_DEN_POLARITY(1) );