projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
056cf4c
)
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
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index 4e5db0f33b4182849a358c3b8e5949ddaa112b84..14ed741c05b8088ab8092a62f600489bd11f2520 100644
(file)
--- 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;