diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-05-19 11:04:32 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-21 23:58:20 -0400 |
commit | fb3e0bc6330e69ce5ca60b2303b53d7588204105 (patch) | |
tree | ea47ed26054a1a686fc854418728f0c6c8b8e234 /drivers/media/i2c | |
parent | 7e0ffd1f4046cf94c0feaffcc5644ff90aadc984 (diff) |
[media] v4l: noon010p30: 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/noon010pc30.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/noon010pc30.c b/drivers/media/i2c/noon010pc30.c index 271d0b7967a6..7eae48766e2b 100644 --- a/drivers/media/i2c/noon010pc30.c +++ b/drivers/media/i2c/noon010pc30.c | |||
@@ -554,6 +554,7 @@ static int noon010_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, | |||
554 | nf = noon010_try_fmt(sd, &fmt->format); | 554 | nf = noon010_try_fmt(sd, &fmt->format); |
555 | noon010_try_frame_size(&fmt->format, &size); | 555 | noon010_try_frame_size(&fmt->format, &size); |
556 | fmt->format.colorspace = V4L2_COLORSPACE_JPEG; | 556 | fmt->format.colorspace = V4L2_COLORSPACE_JPEG; |
557 | fmt->format.field = V4L2_FIELD_NONE; | ||
557 | 558 | ||
558 | if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { | 559 | if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { |
559 | if (fh) { | 560 | if (fh) { |