mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
FB/S3C2410: ensure S3C2410 framebuffer clears initial memory to black
Change the initial pattern in the s3c2410 framebuffer driver to black. Signed-off-by: Ben Dooks <[email protected]> Cc: "Antonino A. Daplas" <[email protected]> Cc: Vincent Sanders <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
38a02f5607
commit
c0d4033535
1 changed files with 1 additions and 1 deletions
|
|
@ -679,7 +679,7 @@ static int __init s3c2410fb_map_video_memory(struct fb_info *info)
|
|||
/* prevent initial garbage on screen */
|
||||
dprintk("map_video_memory: clear %p:%08x\n",
|
||||
info->screen_base, map_size);
|
||||
memset(info->screen_base, 0xf0, map_size);
|
||||
memset(info->screen_base, 0x00, map_size);
|
||||
|
||||
info->fix.smem_start = map_dma;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue