V4L/DVB: mt9m111: added current colorspace at g_fmt
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
6b6d33c746
commit
01f5a394ea
|
@ -492,6 +492,7 @@ static int mt9m111_g_fmt(struct v4l2_subdev *sd,
|
|||
mf->width = mt9m111->rect.width;
|
||||
mf->height = mt9m111->rect.height;
|
||||
mf->code = mt9m111->fmt->code;
|
||||
mf->colorspace = mt9m111->fmt->colorspace;
|
||||
mf->field = V4L2_FIELD_NONE;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue