Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123756
b: refs/heads/master
c: d6ed575
h: refs/heads/master
v: v3
  • Loading branch information
Sascha Hauer committed Dec 16, 2008
1 parent df1b027 commit b082b94
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 72330b0eeefc7abda35b5af55d0e2a9a3d05f04c
refs/heads/master: d6ed5755ac26044473bcc9c9d2659624003652c8
8 changes: 4 additions & 4 deletions trunk/drivers/video/imxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,13 +410,13 @@ static int imxfb_activate_var(struct fb_var_screeninfo *var, struct fb_info *inf
#endif

writel(HCR_H_WIDTH(var->hsync_len) |
HCR_H_WAIT_1(var->left_margin) |
HCR_H_WAIT_2(var->right_margin),
HCR_H_WAIT_1(var->right_margin) |
HCR_H_WAIT_2(var->left_margin),
fbi->regs + LCDC_HCR);

writel(VCR_V_WIDTH(var->vsync_len) |
VCR_V_WAIT_1(var->upper_margin) |
VCR_V_WAIT_2(var->lower_margin),
VCR_V_WAIT_1(var->lower_margin) |
VCR_V_WAIT_2(var->upper_margin),
fbi->regs + LCDC_VCR);

writel(SIZE_XMAX(var->xres) | SIZE_YMAX(var->yres),
Expand Down

0 comments on commit b082b94

Please sign in to comment.