mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
[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 <linux@simtec.co.uk> Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
1144d6535f
commit
60f793de89
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user