Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74364
b: refs/heads/master
c: e593f07
h: refs/heads/master
v: v3
  • Loading branch information
Anti Sullin authored and Linus Torvalds committed Nov 29, 2007
1 parent 6dc18fe commit 762020a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2868f89fc43d16441a90714d4676089bdfc4255a
refs/heads/master: e593f070b40887dc0415646a4c0720eb8630c722
4 changes: 4 additions & 0 deletions trunk/drivers/video/atmel_lcdfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ static int atmel_lcdfb_set_par(struct fb_info *info)
/* Turn off the LCD controller and the DMA controller */
lcdc_writel(sinfo, ATMEL_LCDC_PWRCON, sinfo->guard_time << ATMEL_LCDC_GUARDT_OFFSET);

/* Wait for the LCDC core to become idle */
while (lcdc_readl(sinfo, ATMEL_LCDC_PWRCON) & ATMEL_LCDC_BUSY)
msleep(10);

lcdc_writel(sinfo, ATMEL_LCDC_DMACON, 0);

if (info->var.bits_per_pixel == 1)
Expand Down

0 comments on commit 762020a

Please sign in to comment.