diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-24 09:20:02 +0000 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-24 09:20:02 +0000 |
commit | 3c470f33e6a1df1398143c1f3dd619f675602472 (patch) | |
tree | f9d7c0ea938193599e815a4e4691ba331f75a68c /drivers/video/s3c-fb.c | |
parent | fcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c (diff) | |
parent | 0d5c6ca30bb0190c0a63fd6452c71051fb6bfbe4 (diff) |
Merge branch 'pan-fixes' of git://linuxtv.org/pinchartl/fbdev into fbdev-next
Diffstat (limited to 'drivers/video/s3c-fb.c')
-rw-r--r-- | drivers/video/s3c-fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index 4aecf213c9b..fd9f20df912 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c @@ -883,7 +883,7 @@ static int s3c_fb_pan_display(struct fb_var_screeninfo *var, } } /* Offset in bytes to the end of the displayed area */ - end_boff = start_boff + var->yres * info->fix.line_length; + end_boff = start_boff + info->var.yres * info->fix.line_length; /* Temporarily turn off per-vsync update from shadow registers until * both start and end addresses are updated to prevent corruption */ |