Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321094
b: refs/heads/master
c: f7c848b
h: refs/heads/master
v: v3
  • Loading branch information
Manjunathappa, Prakash authored and Florian Tobias Schandinat committed Jul 29, 2012
1 parent cbdf18a commit 9bed969
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac33a207b13a70bbca6e58094e28bd92b9fc1ff3
refs/heads/master: f7c848b6ef31af09925bb6f4c79e236ca9f94ed9
9 changes: 5 additions & 4 deletions trunk/drivers/video/da8xx-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1038,10 +1038,10 @@ static int cfb_blank(int blank, struct fb_info *info)
par->blank = blank;
switch (blank) {
case FB_BLANK_UNBLANK:
lcd_enable_raster();

if (par->panel_power_ctrl)
par->panel_power_ctrl(1);

lcd_enable_raster();
break;
case FB_BLANK_NORMAL:
case FB_BLANK_VSYNC_SUSPEND:
Expand Down Expand Up @@ -1422,11 +1422,12 @@ static int fb_resume(struct platform_device *dev)
struct da8xx_fb_par *par = info->par;

console_lock();
clk_enable(par->lcdc_clk);
lcd_enable_raster();

if (par->panel_power_ctrl)
par->panel_power_ctrl(1);

clk_enable(par->lcdc_clk);
lcd_enable_raster();
fb_set_suspend(info, 0);
console_unlock();

Expand Down

0 comments on commit 9bed969

Please sign in to comment.