Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320627
b: refs/heads/master
c: 7bf6afb
h: refs/heads/master
i:
  320625: 3d807d1
  320623: 66c4458
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Jul 30, 2012
1 parent e6ed91c commit ccc6860
Show file tree
Hide file tree
Showing 2 changed files with 4 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: f2730756ad9649762583cb013f31f636f88bbec0
refs/heads/master: 7bf6afbb6b528335290e73b74c7f9a8596ef5689
8 changes: 3 additions & 5 deletions trunk/drivers/media/video/tw9910.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,11 +699,9 @@ static int tw9910_g_fmt(struct v4l2_subdev *sd,
struct tw9910_priv *priv = to_tw9910(client);

if (!priv->scale) {
int ret;
u32 width = 640, height = 480;
ret = tw9910_set_frame(sd, &width, &height);
if (ret < 0)
return ret;
priv->scale = tw9910_select_norm(priv->norm, 640, 480);
if (!priv->scale)
return -EINVAL;
}

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

0 comments on commit ccc6860

Please sign in to comment.