Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320625
b: refs/heads/master
c: f985983
h: refs/heads/master
i:
  320623: 66c4458
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Jul 30, 2012
1 parent bc6172b commit 3d807d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 2744782ef15151469ddd1e28c14e4b2c950be6dd
refs/heads/master: f98598391246068359604718cd925020d62bb40e
6 changes: 2 additions & 4 deletions trunk/drivers/media/video/ov2640.c
Original file line number Diff line number Diff line change
Expand Up @@ -837,10 +837,8 @@ static int ov2640_g_fmt(struct v4l2_subdev *sd,

if (!priv->win) {
u32 width = W_SVGA, height = H_SVGA;
int ret = ov2640_set_params(client, &width, &height,
V4L2_MBUS_FMT_UYVY8_2X8);
if (ret < 0)
return ret;
priv->win = ov2640_select_win(&width, &height);
priv->cfmt_code = V4L2_MBUS_FMT_UYVY8_2X8;
}

mf->width = priv->win->width;
Expand Down

0 comments on commit 3d807d1

Please sign in to comment.