Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321024
b: refs/heads/master
c: fb18155
h: refs/heads/master
v: v3
  • Loading branch information
Paul Parsons authored and Florian Tobias Schandinat committed Jul 8, 2012
1 parent 2363931 commit 64631a8
Show file tree
Hide file tree
Showing 2 changed files with 13 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: d65c8f312c7a7e0b14db8f361cc692a263025bf5
refs/heads/master: fb18155925139caef33f5c2d0e60316c3c9c1aac
12 changes: 12 additions & 0 deletions trunk/drivers/video/w100fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,18 @@ static void w100_suspend(u32 mode)
val = readl(remapped_regs + mmPLL_CNTL);
val |= 0x00000004; /* bit2=1 */
writel(val, remapped_regs + mmPLL_CNTL);

writel(0x00000000, remapped_regs + mmLCDD_CNTL1);
writel(0x00000000, remapped_regs + mmLCDD_CNTL2);
writel(0x00000000, remapped_regs + mmGENLCD_CNTL1);
writel(0x00000000, remapped_regs + mmGENLCD_CNTL2);
writel(0x00000000, remapped_regs + mmGENLCD_CNTL3);

val = readl(remapped_regs + mmMEM_EXT_CNTL);
val |= 0xF0000000;
val &= ~(0x00000001);
writel(val, remapped_regs + mmMEM_EXT_CNTL);

writel(0x0000001d, remapped_regs + mmPWRMGT_CNTL);
}
}
Expand Down

0 comments on commit 64631a8

Please sign in to comment.