rk3066 lcdc:fix WIN0 RG SWAP err
authoryxj <yxj@rock-chips.com>
Thu, 29 Nov 2012 11:35:10 +0000 (19:35 +0800)
committeryxj <yxj@rock-chips.com>
Sat, 1 Dec 2012 04:56:05 +0000 (12:56 +0800)
drivers/video/rockchip/lcdc/rk30_lcdc.c

index 7723c04f2b48ea77edcc32549bc6549b0fa237ee..8a0499f2137b8f1ada80c6067a43806c30ef8cdf 100644 (file)
@@ -484,7 +484,7 @@ static  int win0_set_par(struct rk30_lcdc_device *lcdc_dev,rk_screen *screen,
                {
                        case ARGB888:
                                LcdWrReg(lcdc_dev, WIN0_VIR,v_ARGB888_VIRWIDTH(xvir));
-                               //LcdMskReg(lcdc_dev,SYS_CTRL1,m_W0_RGB_RB_SWAP,v_W1_RGB_RB_SWAP(1));
+                               //LcdMskReg(lcdc_dev,SYS_CTRL1,m_W0_RGB_RB_SWAP,v_W0_RGB_RB_SWAP(1));
                                break;
                        case RGB888:  //rgb888
                                LcdWrReg(lcdc_dev, WIN0_VIR,v_RGB888_VIRWIDTH(xvir));