Revert "rk3188 lcdc:support ioctl RK_FBIOSET_W0W1_ZORDER_SWAP"
authoryxj <yxj@rock-chips.com>
Wed, 30 Jan 2013 06:10:32 +0000 (14:10 +0800)
committeryxj <yxj@rock-chips.com>
Wed, 30 Jan 2013 06:10:32 +0000 (14:10 +0800)
This reverts commit 598e43de00fec3b4fa87fdb4ec753f858b65b2de.

drivers/video/rockchip/lcdc/rk3188_lcdc.c

index 45ea4c8b3e8555cb98294d101313db40b89f1d54..6d66d595d991a92bddfdf34606b337dbf6c898fe 100644 (file)
@@ -777,7 +777,6 @@ static int rk3188_lcdc_ioctl(struct rk_lcdc_device_driver *dev_drv, unsigned int
        u32 panel_size[2];
        void __user *argp = (void __user *)arg;
        int enable;
-       int zorder;
        switch(cmd)
        {
                case FBIOGET_PANEL_SIZE:    //get panel size
@@ -794,12 +793,6 @@ static int rk3188_lcdc_ioctl(struct rk_lcdc_device_driver *dev_drv, unsigned int
                                return -EFAULT;
                        lcdc_dev->vsync_info.active = enable;
                        break;
-               case  RK_FBIOSET_W0W1_ZORDER_SWAP:
-                       if (copy_from_user(&zorder, argp, sizeof(zorder)))
-                               return -EFAULT;
-                       lcdc_msk_reg(lcdc_dev,DSP_CTRL0,m_WIN0_TOP,v_WIN0_TOP(zorder));
-                       break;
-                       
                default:
                        break;
        }