From: Laurent Pinchart Date: Mon, 19 May 2014 15:04:32 +0000 (-0300) Subject: [media] v4l: noon010p30: Return V4L2_FIELD_NONE from pad-level set format X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fb3e0bc6330e69ce5ca60b2303b53d7588204105;p=linux-beck.git [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 Acked-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- 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, nf = noon010_try_fmt(sd, &fmt->format); noon010_try_frame_size(&fmt->format, &size); fmt->format.colorspace = V4L2_COLORSPACE_JPEG; + fmt->format.field = V4L2_FIELD_NONE; if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { if (fh) {