Message ID | 20230215223003.30170-5-laurent.pinchart@ideasonboard.com |
---|---|
State | New |
Headers | show |
Series | media: i2c: imx290: Mono support, minor fixes, alternate INCK, and more controls | expand |
diff --git a/drivers/media/i2c/imx290.c b/drivers/media/i2c/imx290.c index a8acc785d995..d68752aea3cf 100644 --- a/drivers/media/i2c/imx290.c +++ b/drivers/media/i2c/imx290.c @@ -917,6 +917,10 @@ static int imx290_set_fmt(struct v4l2_subdev *sd, fmt->format.code = imx290_formats[0].code[imx290->model->colour_variant]; fmt->format.field = V4L2_FIELD_NONE; + fmt->format.colorspace = V4L2_COLORSPACE_RAW; + fmt->format.ycbcr_enc = V4L2_YCBCR_ENC_601; + fmt->format.quantization = V4L2_QUANTIZATION_FULL_RANGE; + fmt->format.xfer_func = V4L2_XFER_FUNC_NONE; format = v4l2_subdev_get_pad_format(sd, sd_state, 0);