Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164839
b: refs/heads/master
c: 5910d35
h: refs/heads/master
i:
  164837: b5ea4d2
  164835: 62f6881
  164831: efe95cb
v: v3
  • Loading branch information
arun c authored and Linus Torvalds committed Sep 23, 2009
1 parent 400a0f6 commit a21340c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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: b6c2b66d353dba229ce167acef49639b9ddf90d9
refs/heads/master: 5910d35cd6c0122a490000a6de0774ac7ebcc2de
4 changes: 2 additions & 2 deletions trunk/arch/arm/plat-omap/include/mach/omapfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ typedef int (*omapfb_notifier_callback_t)(struct notifier_block *,
void *fbi);

struct omapfb_mem_region {
dma_addr_t paddr;
void *vaddr;
u32 paddr;
void __iomem *vaddr;
unsigned long size;
u8 type; /* OMAPFB_PLANE_MEM_* */
unsigned alloc:1; /* allocated by the driver */
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/video/omap/omapfb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,6 @@ static int set_fb_var(struct fb_info *fbi,
var->xoffset = var->xres_virtual - var->xres;
if (var->yres + var->yoffset > var->yres_virtual)
var->yoffset = var->yres_virtual - var->yres;
line_size = var->xres * bpp / 8;

if (plane->color_mode == OMAPFB_COLOR_RGB444) {
var->red.offset = 8; var->red.length = 4;
Expand Down Expand Up @@ -1723,8 +1722,8 @@ static int omapfb_do_probe(struct platform_device *pdev,

pr_info("omapfb: configured for panel %s\n", fbdev->panel->name);

def_vxres = def_vxres ? : fbdev->panel->x_res;
def_vyres = def_vyres ? : fbdev->panel->y_res;
def_vxres = def_vxres ? def_vxres : fbdev->panel->x_res;
def_vyres = def_vyres ? def_vyres : fbdev->panel->y_res;

init_state++;

Expand Down

0 comments on commit a21340c

Please sign in to comment.