summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2010-08-03 07:57:45 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-09-27 22:22:06 -0300
commit01f5a394eac48b74c84434e95e74cd172b0682c3 (patch)
tree60728dcc074af77cb69cda0705410c9dad2cbc35 /drivers/media
parent6b6d33c746ace7bd0dbbdde674d3fb1100ab081d (diff)
downloadblackbird-op-linux-01f5a394eac48b74c84434e95e74cd172b0682c3.tar.gz
blackbird-op-linux-01f5a394eac48b74c84434e95e74cd172b0682c3.zip
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/mt9m111.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index 28df1752202e..c71af4e0e517 100644
--- a/drivers/media/video/mt9m111.c
+++ b/drivers/media/video/mt9m111.c
@@ -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;
OpenPOWER on IntegriCloud