Skip to content

Commit

Permalink
S5PC11X: LCD: Fix the LCD Power On sequence in S3CFB
Browse files Browse the repository at this point in the history
1.Move the backlight_on and reset_lcd at the s3cfb_late_resume()

Change-Id: I75f72d02b062b53f612169c0e53f8608a9d58b22
Signed-off-by: sl47.kim <sl47.kim@samsung.com>
  • Loading branch information
sl47.kim authored and swetland committed Nov 15, 2010
1 parent 0d5fff2 commit 2c2912d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/video/samsung/s3cfb.c
Expand Up @@ -1132,13 +1132,6 @@ void s3cfb_late_resume(struct early_suspend *h)
dev_dbg(fbdev->dev, "wake up from suspend\n");
if (pdata->cfg_gpio)
pdata->cfg_gpio(pdev);
#if defined(CONFIG_FB_S3C_TL2796)
if (pdata->backlight_on)
pdata->backlight_on(pdev);
#endif

if (pdata->reset_lcd)
pdata->reset_lcd(pdev);

clk_enable(fbdev->clock);
s3cfb_init_global(fbdev);
Expand All @@ -1159,6 +1152,13 @@ void s3cfb_late_resume(struct early_suspend *h)

s3cfb_set_vsync_interrupt(fbdev, 1);
s3cfb_set_global_interrupt(fbdev, 1);

if (pdata->backlight_on)
pdata->backlight_on(pdev);

if (pdata->reset_lcd)
pdata->reset_lcd(pdev);

pr_info("s3cfb_late_resume is complete\n");
return ;
}
Expand Down

0 comments on commit 2c2912d

Please sign in to comment.