diff options
author | Piotr Zierhoffer <pzierhoffer@antmicro.com> | 2013-05-10 15:36:34 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2013-06-12 21:43:55 +0200 |
commit | e9ecaa3464f1fda91321d358ae7c77da710748e1 (patch) | |
tree | 734e48643ae8eb63f1c56497a703908304b0b4d6 /drivers/media/video | |
parent | f143c8cf1bd9b6858749f8dcec0db76f79343403 (diff) |
adv7180, max9526: correct v4l2_field setting
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/adv7180.c | 2 | ||||
-rw-r--r-- | drivers/media/video/max9526.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 6a50a58834c5..a69c8536b07f 100644 --- a/drivers/media/video/adv7180.c +++ b/drivers/media/video/adv7180.c @@ -300,7 +300,7 @@ static int adv7180_s_fmt(struct v4l2_subdev *sd, static int adv7180_try_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf) { - mf->field = V4L2_FIELD_NONE; + mf->field = V4L2_FIELD_INTERLACED_TB; mf->code = V4L2_MBUS_FMT_YUYV8_2X8; mf->colorspace = V4L2_COLORSPACE_SRGB; diff --git a/drivers/media/video/max9526.c b/drivers/media/video/max9526.c index eee0c0688e27..3fdfd7846e2d 100644 --- a/drivers/media/video/max9526.c +++ b/drivers/media/video/max9526.c @@ -725,7 +725,7 @@ static int max9526_try_mbus_fmt(struct v4l2_subdev *sd, mf->width = PAL_NUM_ACTIVE_PIXELS; mf->height = PAL_NUM_ACTIVE_LINES; } - mf->field = V4L2_FIELD_INTERLACED; + mf->field = V4L2_FIELD_INTERLACED_TB; mf->colorspace = V4L2_COLORSPACE_SMPTE170M; return 0; @@ -933,7 +933,7 @@ static struct max9526_decoder max9526_dev = { .width = PAL_NUM_ACTIVE_PIXELS, .height = PAL_NUM_ACTIVE_LINES, .pixelformat = V4L2_PIX_FMT_UYVY, - .field = V4L2_FIELD_INTERLACED, + .field = V4L2_FIELD_INTERLACED_TB, .bytesperline = PAL_NUM_ACTIVE_PIXELS * 2, .sizeimage = PAL_NUM_ACTIVE_PIXELS * 2 * PAL_NUM_ACTIVE_LINES, |