diff options
Diffstat (limited to 'drivers/video/da8xx-fb.c')
-rw-r--r-- | drivers/video/da8xx-fb.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 03ebc0ddcfdb..af2aa387ec17 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c | |||
@@ -988,7 +988,8 @@ static int lcd_da8xx_cpufreq_transition(struct notifier_block *nb, | |||
988 | par->lcd_fck_rate = clk_get_rate(par->lcdc_clk); | 988 | par->lcd_fck_rate = clk_get_rate(par->lcdc_clk); |
989 | lcd_disable_raster(true); | 989 | lcd_disable_raster(true); |
990 | lcd_calc_clk_divider(par); | 990 | lcd_calc_clk_divider(par); |
991 | lcd_enable_raster(); | 991 | if (par->blank == FB_BLANK_UNBLANK) |
992 | lcd_enable_raster(); | ||
992 | } | 993 | } |
993 | } | 994 | } |
994 | 995 | ||
@@ -1514,10 +1515,12 @@ static int fb_resume(struct platform_device *dev) | |||
1514 | 1515 | ||
1515 | console_lock(); | 1516 | console_lock(); |
1516 | clk_enable(par->lcdc_clk); | 1517 | clk_enable(par->lcdc_clk); |
1517 | lcd_enable_raster(); | 1518 | if (par->blank == FB_BLANK_UNBLANK) { |
1519 | lcd_enable_raster(); | ||
1518 | 1520 | ||
1519 | if (par->panel_power_ctrl) | 1521 | if (par->panel_power_ctrl) |
1520 | par->panel_power_ctrl(1); | 1522 | par->panel_power_ctrl(1); |
1523 | } | ||
1521 | 1524 | ||
1522 | fb_set_suspend(info, 0); | 1525 | fb_set_suspend(info, 0); |
1523 | console_unlock(); | 1526 | console_unlock(); |