The patch titled s3c2410_fb: fix line length calculation has been removed from the -mm tree. Its filename was s3c2410_fb-fix-line-length-calculation.patch
This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: s3c2410_fb: fix line length calculation From: Stefan Schmidt <[EMAIL PROTECTED]> Fix line length calculation. var->width is the size of the display in mm. We like to use the pixel size. Without this fix, dynamic (fbset) based resolution and depths changes with s3c2410_fb don't work at all. Spotted by john cass <[EMAIL PROTECTED]> Signed-off-by: Stefan Schmidt <[EMAIL PROTECTED]> Signed-off-by: Harald Welte <[EMAIL PROTECTED]> Acked-by: Ben Dooks <[EMAIL PROTECTED]> Acked-by: Arnaud Patard <[EMAIL PROTECTED]> Acked-by: Krzysztof Helt <[EMAIL PROTECTED]> Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]> Cc: Russell King <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/video/s3c2410fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/video/s3c2410fb.c~s3c2410_fb-fix-line-length-calculation drivers/video/s3c2410fb.c --- a/drivers/video/s3c2410fb.c~s3c2410_fb-fix-line-length-calculation +++ a/drivers/video/s3c2410fb.c @@ -488,7 +488,7 @@ static int s3c2410fb_set_par(struct fb_i break; } - info->fix.line_length = (var->width * var->bits_per_pixel) / 8; + info->fix.line_length = (var->xres_virtual * var->bits_per_pixel) / 8; /* activate this new configuration */ _ Patches currently in -mm which might be from [EMAIL PROTECTED] are - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html