Message ID | 1297332330-21964-1-git-send-email-alexander.stein@systec-electronic.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c index ef71e56..9040833 100644 --- a/drivers/video/mx3fb.c +++ b/drivers/video/mx3fb.c @@ -881,12 +881,11 @@ static int __set_par(struct fb_info *fbi, bool lock) IPU_PIX_FMT_BGR666 : IPU_PIX_FMT_RGB666, fbi->var.left_margin, fbi->var.hsync_len, - fbi->var.right_margin + - fbi->var.hsync_len, + fbi->var.right_margin, fbi->var.upper_margin, fbi->var.vsync_len, - fbi->var.lower_margin + - fbi->var.vsync_len, sig_cfg) != 0) { + fbi->var.lower_margin, + sig_cfg) != 0) { dev_err(fbi->device, "mx3fb: Error initializing panel.\n"); return -EINVAL;