diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-02-06 04:39:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:17 -0500 |
commit | c0d40335353e1c89c9c885e5af4d0be0f1a50483 (patch) | |
tree | 7fa2a2d14b48b9cbf1fa5f12f984400c8cf2bd04 /drivers | |
parent | 38a02f560752a8a003baffafac9fde5f7bfdcdf8 (diff) |
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 <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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/s3c2410fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c index 86d2356952cf..e63f536e9fed 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) | |||
679 | /* prevent initial garbage on screen */ | 679 | /* prevent initial garbage on screen */ |
680 | dprintk("map_video_memory: clear %p:%08x\n", | 680 | dprintk("map_video_memory: clear %p:%08x\n", |
681 | info->screen_base, map_size); | 681 | info->screen_base, map_size); |
682 | memset(info->screen_base, 0xf0, map_size); | 682 | memset(info->screen_base, 0x00, map_size); |
683 | 683 | ||
684 | info->fix.smem_start = map_dma; | 684 | info->fix.smem_start = map_dma; |
685 | 685 | ||