Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310371
b: refs/heads/master
c: 3cb6a1b
h: refs/heads/master
i:
  310369: bb487d2
  310367: 54b86bf
v: v3
  • Loading branch information
Tomi Valkeinen committed May 22, 2012
1 parent ce3cca1 commit b135cf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 4a75cb857d2ec5f8f40f23a817ec162b93661bae
refs/heads/master: 3cb6a1b9672a2e0937a1475e3d68e6c236133156
4 changes: 3 additions & 1 deletion trunk/drivers/video/omap2/vrfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,10 @@ void omap_vrfb_setup(struct vrfb *vrfb, unsigned long paddr,
pixel_size_exp = 2;
else if (bytespp == 2)
pixel_size_exp = 1;
else
else {
BUG();
return;
}

vrfb_width = ALIGN(width * bytespp, VRFB_PAGE_WIDTH) / bytespp;
vrfb_height = ALIGN(height, VRFB_PAGE_HEIGHT);
Expand Down

0 comments on commit b135cf8

Please sign in to comment.