media: imx: imx7-media-csi: Fix mbus framefmt field init
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Tue, 21 Mar 2023 07:27:06 +0000 (08:27 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 11 Apr 2023 16:11:53 +0000 (18:11 +0200)
commite6f68b1c4048e97bb01b770fd9c487ecce6c5cab
tree61078f1a250ed4478944da08d26dfba1866b74b6
parenta56b3e151e30da1f71fcb0b5726bb592ee4e30b6
media: imx: imx7-media-csi: Fix mbus framefmt field init

'field' is zero-initialized to V4L2_FIELD_ANY, which is an invalid value
to return to userspace. Instead default to non-interleaving.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/nxp/imx7-media-csi.c