Commit 01f5a394 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Mauro Carvalho Chehab

V4L/DVB: mt9m111: added current colorspace at g_fmt

Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 6b6d33c7
...@@ -492,6 +492,7 @@ static int mt9m111_g_fmt(struct v4l2_subdev *sd, ...@@ -492,6 +492,7 @@ static int mt9m111_g_fmt(struct v4l2_subdev *sd,
mf->width = mt9m111->rect.width; mf->width = mt9m111->rect.width;
mf->height = mt9m111->rect.height; mf->height = mt9m111->rect.height;
mf->code = mt9m111->fmt->code; mf->code = mt9m111->fmt->code;
mf->colorspace = mt9m111->fmt->colorspace;
mf->field = V4L2_FIELD_NONE; mf->field = V4L2_FIELD_NONE;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment