aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/imxfb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/imxfb.c b/drivers/video/imxfb.c
index 986ffa6c70a3..11609552a387 100644
--- a/drivers/video/imxfb.c
+++ b/drivers/video/imxfb.c
@@ -466,7 +466,7 @@ static int __init imxfb_init_fbinfo(struct device *dev)
466 info->var.vmode = FB_VMODE_NONINTERLACED; 466 info->var.vmode = FB_VMODE_NONINTERLACED;
467 467
468 info->fbops = &imxfb_ops; 468 info->fbops = &imxfb_ops;
469 info->flags = FBINFO_FLAG_DEFAULT; 469 info->flags = FBINFO_FLAG_DEFAULT | FBINFO_READS_FAST;
470 470
471 fbi->rgb[RGB_16] = &def_rgb_16; 471 fbi->rgb[RGB_16] = &def_rgb_16;
472 fbi->rgb[RGB_8] = &def_rgb_8; 472 fbi->rgb[RGB_8] = &def_rgb_8;
@@ -479,6 +479,7 @@ static int __init imxfb_init_fbinfo(struct device *dev)
479 info->var.yres_virtual = inf->yres; 479 info->var.yres_virtual = inf->yres;
480 fbi->max_bpp = inf->bpp; 480 fbi->max_bpp = inf->bpp;
481 info->var.bits_per_pixel = inf->bpp; 481 info->var.bits_per_pixel = inf->bpp;
482 info->var.nonstd = inf->nonstd;
482 info->var.pixclock = inf->pixclock; 483 info->var.pixclock = inf->pixclock;
483 info->var.hsync_len = inf->hsync_len; 484 info->var.hsync_len = inf->hsync_len;
484 info->var.left_margin = inf->left_margin; 485 info->var.left_margin = inf->left_margin;