summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2010-08-03 12:57:45 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-09-28 03:22:06 +0200
commit01f5a394eac48b74c84434e95e74cd172b0682c3 (patch)
tree60728dcc074af77cb69cda0705410c9dad2cbc35 /drivers/media
parentV4L/DVB: mt9m111: cropcap and s_crop check if type is VIDEO_CAPTURE (diff)
downloadlinux-01f5a394eac48b74c84434e95e74cd172b0682c3.tar.xz
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;