From: yxj Date: Tue, 22 Jan 2013 08:29:00 +0000 (+0800) Subject: rk30 lcdc:enable frame start irq X-Git-Tag: firefly_0821_release~7863 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=54ebf17ad7cd08c82f5cd2213b7fbaf584941342;p=firefly-linux-kernel-4.4.55.git rk30 lcdc:enable frame start irq --- diff --git a/drivers/video/rockchip/lcdc/rk30_lcdc.c b/drivers/video/rockchip/lcdc/rk30_lcdc.c index 6443b50c6d6a..f19f98792dff 100644 --- a/drivers/video/rockchip/lcdc/rk30_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk30_lcdc.c @@ -819,8 +819,8 @@ int rk30_lcdc_pan_display(struct rk_lcdc_device_driver * dev_drv,int layer_id) if((dev_drv->first_frame)) //this is the first frame of the system ,enable frame start interrupt { dev_drv->first_frame = 0; - //lcdc_msk_reg(lcdc_dev,INT_STATUS,m_FRM_START_INT_CLEAR |m_FRM_START_INT_EN , - // v_FRM_START_INT_CLEAR(1) | v_FRM_START_INT_EN(1)); + lcdc_msk_reg(lcdc_dev,INT_STATUS,m_FRM_START_INT_CLEAR |m_FRM_START_INT_EN , + v_FRM_START_INT_CLEAR(1) | v_FRM_START_INT_EN(1)); lcdc_cfg_done(lcdc_dev); // write any value to REG_CFG_DONE let config become effective }