From: yzq Date: Fri, 14 Oct 2011 04:41:07 +0000 (+0800) Subject: rk29fb:close win0 win1 when suspend to fix display old frame when resume X-Git-Tag: firefly_0821_release~9766^2~24 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a6b813e804c9468183d5d80a5720c20e48b31ba8;p=firefly-linux-kernel-4.4.55.git rk29fb:close win0 win1 when suspend to fix display old frame when resume --- diff --git a/drivers/video/rk29_fb.c b/drivers/video/rk29_fb.c index 250a4ed8af52..6d1666484658 100755 --- a/drivers/video/rk29_fb.c +++ b/drivers/video/rk29_fb.c @@ -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) );