fix recovery memset fb1 segment fault err
author陈辉 <chenhui@rock-chips.com>
Tue, 27 Mar 2012 10:03:46 +0000 (18:03 +0800)
committer陈辉 <chenhui@rock-chips.com>
Tue, 27 Mar 2012 10:03:46 +0000 (18:03 +0800)
drivers/video/rockchip/rk_fb.c

index 4e5db0f33b4182849a358c3b8e5949ddaa112b84..14ed741c05b8088ab8092a62f600489bd11f2520 100644 (file)
@@ -463,7 +463,7 @@ static int rk_fb_set_par(struct fb_info *info)
     smem_len = fix->line_length * yvir + cblen + crlen;
    // map_size = PAGE_ALIGN(smem_len);
 
-    fix->smem_len = smem_len;
+    //fix->smem_len = smem_len;
     par->xpos = xpos;
     par->ypos = ypos;
     par->xsize = xsize;