[PATCH v2 2/3] media: imx: imx7-media-csi: Remove interlave fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Interlaced mode is currently not supported, so disable fields in try_fmt.

Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
---
 drivers/media/platform/nxp/imx7-media-csi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/nxp/imx7-media-csi.c b/drivers/media/platform/nxp/imx7-media-csi.c
index bd649fd9166fd..1508f6ba20e91 100644
--- a/drivers/media/platform/nxp/imx7-media-csi.c
+++ b/drivers/media/platform/nxp/imx7-media-csi.c
@@ -1178,6 +1178,7 @@ __imx7_csi_video_try_fmt(struct v4l2_pix_format *pixfmt,
 	stride = round_up((pixfmt->width * cc->bpp) / 8, 8);
 	pixfmt->bytesperline = stride;
 	pixfmt->sizeimage = stride * pixfmt->height;
+	pixfmt->field = V4L2_FIELD_NONE;
 
 	if (compose) {
 		compose->width = pixfmt->width;
-- 
2.34.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux