提交 01f5a394 编写于 作者: M Michael Grzeschik 提交者: Mauro Carvalho Chehab

V4L/DVB: mt9m111: added current colorspace at g_fmt

Signed-off-by: NMichael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册