]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
V4L/DVB: mt9m111: added current colorspace at g_fmt
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Tue, 3 Aug 2010 10:57:45 +0000 (07:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 Sep 2010 01:22:06 +0000 (22:22 -0300)
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>
drivers/media/video/mt9m111.c

index 28df1752202eb0fbb976d625c1c2b20846040cd7..c71af4e0e517f61631b1cc936021104dbcd30f92 100644 (file)
@@ -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;