Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] v4l: s3c-camif: Return V4L2_FIELD_NONE from pad-level set format

The bridge driver doesn't support interlaced formats, 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>

authored by

Laurent Pinchart and committed by
Mauro Carvalho Chehab
6c5bba9b 7ed0b291

+2
+2
drivers/media/platform/s3c-camif/camif-capture.c
··· 1270 1270 } 1271 1271 1272 1272 mutex_unlock(&camif->lock); 1273 + mf->field = V4L2_FIELD_NONE; 1273 1274 mf->colorspace = V4L2_COLORSPACE_JPEG; 1274 1275 return 0; 1275 1276 } ··· 1319 1318 v4l2_dbg(1, debug, sd, "pad%d: code: 0x%x, %ux%u\n", 1320 1319 fmt->pad, mf->code, mf->width, mf->height); 1321 1320 1321 + mf->field = V4L2_FIELD_NONE; 1322 1322 mf->colorspace = V4L2_COLORSPACE_JPEG; 1323 1323 mutex_lock(&camif->lock); 1324 1324