diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-06-07 05:58:00 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-07-06 08:26:10 -0300 |
commit | 22df2e7a390f6cb31c6a5b0d8051d0ec83769ed1 (patch) | |
tree | eb3dcfc77abf0998461ccb0412e2d61ea2ce6b5c /drivers/media/platform | |
parent | 4de00d0efe0a7af8e2ef591effa2a559b7cc38a3 (diff) | |
download | linux-22df2e7a390f6cb31c6a5b0d8051d0ec83769ed1.tar.bz2 |
[media] sh-vou: fix incorrect initial pixelformat
It was set to a format that wasn't supported.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/sh_vou.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/sh_vou.c b/drivers/media/platform/sh_vou.c index d9a4502b4a58..262c244fcc39 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; |