Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108477
b: refs/heads/master
c: fdfaa48
h: refs/heads/master
i:
  108475: 1d06ce3
v: v3
  • Loading branch information
York Sun authored and Linus Torvalds committed Aug 15, 2008
1 parent f78f589 commit ed1b334
Show file tree
Hide file tree
Showing 2 changed files with 5 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: ae5591e3f4754478b397a4e09ebd7cf4774ef88e
refs/heads/master: fdfaa4833f984c6f8d44afb1fed6c0c775e6e67b
4 changes: 4 additions & 0 deletions trunk/drivers/video/fsl-diu-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,10 @@ static void adjust_aoi_size_position(struct fb_var_screeninfo *var,
base_plane_width = machine_data->fsl_diu_info[0]->var.xres;
base_plane_height = machine_data->fsl_diu_info[0]->var.yres;

if (mfbi->x_aoi_d < 0)
mfbi->x_aoi_d = 0;
if (mfbi->y_aoi_d < 0)
mfbi->y_aoi_d = 0;
switch (index) {
case 0:
if (mfbi->x_aoi_d != 0)
Expand Down

0 comments on commit ed1b334

Please sign in to comment.