Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33234
b: refs/heads/master
c: fd2d543
h: refs/heads/master
v: v3
  • Loading branch information
Rodolfo Giometti authored and Linus Torvalds committed Aug 6, 2006
1 parent e0347a4 commit 1613510
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 78944e549d36673eb6265a2411574e79c28e23dc
refs/heads/master: fd2d54300369690500fc9b1bac9440d2ee81913a
5 changes: 3 additions & 2 deletions trunk/drivers/video/au1100fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,11 @@ int au1100fb_setmode(struct au1100fb_device *fbdev)
}

info->screen_size = info->fix.line_length * info->var.yres_virtual;
info->var.rotate = ((fbdev->panel->control_base&LCD_CONTROL_SM_MASK) \
>> LCD_CONTROL_SM_BIT) * 90;

/* Determine BPP mode and format */
fbdev->regs->lcd_control = fbdev->panel->control_base |
((info->var.rotate/90) << LCD_CONTROL_SM_BIT);
fbdev->regs->lcd_control = fbdev->panel->control_base;

fbdev->regs->lcd_intenable = 0;
fbdev->regs->lcd_intstatus = 0;
Expand Down

0 comments on commit 1613510

Please sign in to comment.