The sensor is progressive, always return the field order set to
V4L2_FIELD_NONE.

Cc: Sangwook Lee <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
---
 drivers/media/i2c/s5k4ecgx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/i2c/s5k4ecgx.c b/drivers/media/i2c/s5k4ecgx.c
index 2750de6..1fcc76f 100644
--- a/drivers/media/i2c/s5k4ecgx.c
+++ b/drivers/media/i2c/s5k4ecgx.c
@@ -594,6 +594,7 @@ static int s5k4ecgx_set_fmt(struct v4l2_subdev *sd, struct 
v4l2_subdev_fh *fh,
        pf = s5k4ecgx_try_fmt(sd, &fmt->format);
        s5k4ecgx_try_frame_size(&fmt->format, &fsize);
        fmt->format.colorspace = V4L2_COLORSPACE_JPEG;
+       fmt->format.field = V4L2_FIELD_NONE;
 
        if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) {
                if (fh) {
-- 
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