From dd5b67740789961d65b08351b88611bb2ab0c145 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=99=88=E8=BE=89?= Date: Tue, 27 Mar 2012 18:03:46 +0800 Subject: [PATCH] fix recovery memset fb1 segment fault err --- drivers/video/rockchip/rk_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index 4e5db0f33b41..14ed741c05b8 100644 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -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; -- 2.34.1