summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/s5k4ecgx.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-05-19 17:04:32 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-22 05:59:02 +0200
commit776a347df61780111574ee8875e5f7d756817de8 (patch)
tree66c3933be7d7ee878518ee0d0bd2892294ceeddb /drivers/media/i2c/s5k4ecgx.c
parent[media] v4l: noon010p30: Return V4L2_FIELD_NONE from pad-level set format (diff)
downloadlinux-776a347df61780111574ee8875e5f7d756817de8.tar.xz
linux-776a347df61780111574ee8875e5f7d756817de8.zip
[media] v4l: s5k4ecgx: 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/s5k4ecgx.c')
-rw-r--r--drivers/media/i2c/s5k4ecgx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/s5k4ecgx.c b/drivers/media/i2c/s5k4ecgx.c
index 2750de634270..1fcc76fd1bbf 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) {