From: Daniel Silverstone Date: Tue, 10 Feb 2009 12:40:38 +0000 (+0100) Subject: [ARM] 5377/1: S3C2410-Framebuffer: Fix resume path in S3C2410 framebuffer driver. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=60f793de891ea06fa870546336a88df543ec56ae;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [ARM] 5377/1: S3C2410-Framebuffer: Fix resume path in S3C2410 framebuffer driver. Ensure that the LCD engine is correctly re-initialised and the correct parameters passed ot s3c2410fb_init_registers. Signed-off-by: Simtec Linux Team Signed-off-by: Ben Dooks Signed-off-by: Russell King --- diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c index 79cf0b1976aa..b0b4513ba537 100644 --- a/drivers/video/s3c2410fb.c +++ b/drivers/video/s3c2410fb.c @@ -1017,6 +1017,10 @@ static int s3c2410fb_resume(struct platform_device *dev) s3c2410fb_init_registers(fbinfo); + /* re-activate our display after resume */ + s3c2410fb_activate_var(fbinfo); + s3c2410fb_blank(FB_BLANK_UNBLANK, fbinfo); + return 0; }