From: Michael Grzeschik Date: Tue, 3 Aug 2010 10:57:45 +0000 (-0300) Subject: V4L/DVB: mt9m111: added current colorspace at g_fmt X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=01f5a394eac48b74c84434e95e74cd172b0682c3;p=linux-beck.git V4L/DVB: mt9m111: added current colorspace at g_fmt Signed-off-by: Michael Grzeschik Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- 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;