Skip to content

Commit

Permalink
FB/S3C2410: ensure S3C2410 framebuffer clears initial memory to black
Browse files Browse the repository at this point in the history
Change the initial pattern in the s3c2410 framebuffer driver
to black.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Vincent Sanders <vince@simtec.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Ben Dooks authored and Linus Torvalds committed Feb 6, 2008
1 parent 38a02f5 commit c0d4033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/s3c2410fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c0d4033

Please sign in to comment.