aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-05-19 11:04:32 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-21 23:59:35 -0400
commitd53ce5acf8d02f2d55702c17a875c8fb351cc66b (patch)
tree9796baeaee2e45517e51af35b4b97af5d5b6bed5 /drivers/media/i2c
parent2f7844ecb753b352ef8db56b443618a45e478f28 (diff)
[media] v4l: s5k6a3: Return V4L2_FIELD_NONE from pad-level set format
The sensor is progressive, always return the field order set to V4L2_FIELD_NONE. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/s5k6a3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/s5k6a3.c b/drivers/media/i2c/s5k6a3.c
index 7bc2271ca009..c11a40850ed1 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)
115 115
116 fmt = find_sensor_format(mf); 116 fmt = find_sensor_format(mf);
117 mf->code = fmt->code; 117 mf->code = fmt->code;
118 mf->field = V4L2_FIELD_NONE;
118 v4l_bound_align_image(&mf->width, S5K6A3_SENSOR_MIN_WIDTH, 119 v4l_bound_align_image(&mf->width, S5K6A3_SENSOR_MIN_WIDTH,
119 S5K6A3_SENSOR_MAX_WIDTH, 0, 120 S5K6A3_SENSOR_MAX_WIDTH, 0,
120 &mf->height, S5K6A3_SENSOR_MIN_HEIGHT, 121 &mf->height, S5K6A3_SENSOR_MIN_HEIGHT,