rk fb: remove set win state at rk_fb_pan_display
authorzwl <zwl@rockchips.com>
Mon, 22 Sep 2014 13:37:49 +0000 (21:37 +0800)
committerzwl <zwl@rockchips.com>
Mon, 22 Sep 2014 13:37:49 +0000 (21:37 +0800)
drivers/video/rockchip/rk_fb.c

index 5d5ae6d9a55b3e23bbfab06c4796d99806242afa..54d0fc46a2e62b63d84f3eb5246f44792f425887 100755 (executable)
@@ -1391,7 +1391,6 @@ static int rk_fb_pan_display(struct fb_var_screeninfo *var,
        win->area[0].cbr_start = fix->mmio_start;
        win->area[0].state = 1;
        win->area_num = 1;
-       win->state = 1;
 
        dev_drv->ops->pan_display(dev_drv, win_id);