From: Hans Verkuil Date: Sun, 7 Jun 2015 08:58:00 +0000 (-0300) Subject: [media] sh-vou: fix incorrect initial pixelformat X-Git-Tag: v4.14-rc1~4413^2~395 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22df2e7a390f6cb31c6a5b0d8051d0ec83769ed1;p=platform%2Fkernel%2Flinux-rpi.git [media] sh-vou: fix incorrect initial pixelformat It was set to a format that wasn't supported. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/sh_vou.c b/drivers/media/platform/sh_vou.c index d9a4502..262c244 100644 --- a/drivers/media/platform/sh_vou.c +++ b/drivers/media/platform/sh_vou.c @@ -1368,7 +1368,7 @@ static int sh_vou_probe(struct platform_device *pdev) rect->height = 480; pix->width = VOU_MAX_IMAGE_WIDTH; pix->height = 480; - pix->pixelformat = V4L2_PIX_FMT_YVYU; + pix->pixelformat = V4L2_PIX_FMT_NV16; pix->field = V4L2_FIELD_NONE; pix->bytesperline = VOU_MAX_IMAGE_WIDTH * 2; pix->sizeimage = VOU_MAX_IMAGE_WIDTH * 2 * 480;