From: Ben Dooks Date: Wed, 6 Feb 2008 09:39:43 +0000 (-0800) Subject: FB/S3C2410: ensure S3C2410 framebuffer clears initial memory to black X-Git-Tag: v2.6.25-rc1~561 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0d40335353e1c89c9c885e5af4d0be0f1a50483;p=linux-2.6 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 Cc: "Antonino A. Daplas" Cc: Vincent Sanders Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c index 86d2356952..e63f536e9f 100644 --- a/drivers/video/s3c2410fb.c +++ b/drivers/video/s3c2410fb.c @@ -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;