Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222069
b: refs/heads/master
c: d889eb1
h: refs/heads/master
i:
  222067: 919eb83
v: v3
  • Loading branch information
Janusz Krzysztofik authored and Mauro Carvalho Chehab committed Nov 9, 2010
1 parent 6d52ef8 commit 1358540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 4b35e625da69654a71515444c1c0a6b6ce84ad2f
refs/heads/master: d889eb1e0e371c15c24bd5c46dd2b18d5e3694e5
4 changes: 1 addition & 3 deletions trunk/drivers/media/video/ov6650.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ static int ov6650_g_fmt(struct v4l2_subdev *sd,

static bool is_unscaled_ok(int width, int height, struct v4l2_rect *rect)
{
return (width > rect->width >> 1 || height > rect->height >> 1);
return width > rect->width >> 1 || height > rect->height >> 1;
}

static u8 to_clkrc(struct v4l2_fract *timeperframe,
Expand Down Expand Up @@ -840,8 +840,6 @@ static int ov6650_s_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
coma_mask |= COMA_BW | COMA_BYTE_SWAP | COMA_WORD_SWAP;
coma_set |= COMA_RAW_RGB | COMA_RGB;
break;
case 0:
break;
default:
dev_err(&client->dev, "Pixel format not handled: 0x%x\n", code);
return -EINVAL;
Expand Down

0 comments on commit 1358540

Please sign in to comment.