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

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

diff --git a/drivers/media/i2c/s5k6a3.c b/drivers/media/i2c/s5k6a3.c
index 7bc2271..c11a408 100644
--- a/drivers/media/i2c/s5k6a3.c
+++ b/drivers/media/i2c/s5k6a3.c
@@ -115,6 +115,7 @@ static void s5k6a3_try_format(struct v4l2_mbus_framefmt *mf)
 
        fmt = find_sensor_format(mf);
        mf->code = fmt->code;
+       mf->field = V4L2_FIELD_NONE;
        v4l_bound_align_image(&mf->width, S5K6A3_SENSOR_MIN_WIDTH,
                              S5K6A3_SENSOR_MAX_WIDTH, 0,
                              &mf->height, S5K6A3_SENSOR_MIN_HEIGHT,
-- 
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