Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176859
b: refs/heads/master
c: 7874b90
h: refs/heads/master
i:
  176857: 5532eab
  176855: 2151c61
v: v3
  • Loading branch information
Kuninori Morimoto authored and Mauro Carvalho Chehab committed Dec 16, 2009
1 parent c232fd5 commit 9cecb5f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 398994c1e104324acc836894290f2453d7f75ff5
refs/heads/master: 7874b9038da3ff54dd1667e6bab307e66030950e
8 changes: 4 additions & 4 deletions trunk/drivers/media/video/tw9910.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ static int tw9910_g_fmt(struct v4l2_subdev *sd,

mf->width = priv->scale->width;
mf->height = priv->scale->height;
mf->code = V4L2_MBUS_FMT_YVYU8_2X8_BE;
mf->code = V4L2_MBUS_FMT_YUYV8_2X8_BE;
mf->colorspace = V4L2_COLORSPACE_JPEG;
mf->field = V4L2_FIELD_INTERLACED_BT;

Expand Down Expand Up @@ -835,7 +835,7 @@ static int tw9910_s_fmt(struct v4l2_subdev *sd,
/*
* check color format
*/
if (mf->code != V4L2_MBUS_FMT_YVYU8_2X8_BE)
if (mf->code != V4L2_MBUS_FMT_YUYV8_2X8_BE)
return -EINVAL;

mf->colorspace = V4L2_COLORSPACE_JPEG;
Expand All @@ -862,7 +862,7 @@ static int tw9910_try_fmt(struct v4l2_subdev *sd,
return -EINVAL;
}

mf->code = V4L2_MBUS_FMT_YVYU8_2X8_BE;
mf->code = V4L2_MBUS_FMT_YUYV8_2X8_BE;
mf->colorspace = V4L2_COLORSPACE_JPEG;

/*
Expand Down Expand Up @@ -947,7 +947,7 @@ static int tw9910_enum_fmt(struct v4l2_subdev *sd, int index,
if (index)
return -EINVAL;

*code = V4L2_MBUS_FMT_YVYU8_2X8_BE;
*code = V4L2_MBUS_FMT_YUYV8_2X8_BE;
return 0;
}

Expand Down

0 comments on commit 9cecb5f

Please sign in to comment.