The bridge driver doesn't support interlaced formats, always return the
field order set to V4L2_FIELD_NONE.

Signed-off-by: Laurent Pinchart <[email protected]>
---
 drivers/media/platform/s3c-camif/camif-capture.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/media/platform/s3c-camif/camif-capture.c 
b/drivers/media/platform/s3c-camif/camif-capture.c
index deba425..cc89133 100644
--- a/drivers/media/platform/s3c-camif/camif-capture.c
+++ b/drivers/media/platform/s3c-camif/camif-capture.c
@@ -1271,6 +1271,7 @@ static int s3c_camif_subdev_get_fmt(struct v4l2_subdev 
*sd,
        }
 
        mutex_unlock(&camif->lock);
+       mf->field = V4L2_FIELD_NONE;
        mf->colorspace = V4L2_COLORSPACE_JPEG;
        return 0;
 }
@@ -1319,6 +1320,7 @@ static int s3c_camif_subdev_set_fmt(struct v4l2_subdev 
*sd,
        v4l2_dbg(1, debug, sd, "pad%d: code: 0x%x, %ux%u\n",
                 fmt->pad, mf->code, mf->width, mf->height);
 
+       mf->field = V4L2_FIELD_NONE;
        mf->colorspace = V4L2_COLORSPACE_JPEG;
        mutex_lock(&camif->lock);
 
-- 
1.8.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to