projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de00d0
)
[media] sh-vou: fix incorrect initial pixelformat
author
Hans Verkuil
<hans.verkuil@cisco.com>
Sun, 7 Jun 2015 08:58:00 +0000
(
05:58
-0300)
committer
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Mon, 6 Jul 2015 11:26:10 +0000
(08:26 -0300)
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>
drivers/media/platform/sh_vou.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/sh_vou.c
b/drivers/media/platform/sh_vou.c
index d9a4502b4a58815f2b9b9dcb8d79bb507fa64711..262c244fcc3921ad46245de3d5c241284c8ae705 100644
(file)
--- 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;