projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e8ec0a
)
[media] mem2mem_testdev: set priv to 0
author
Hans Verkuil
<
[email protected]
>
Mon, 10 Mar 2014 13:58:25 +0000
(10:58 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Tue, 11 Mar 2014 13:31:04 +0000
(10:31 -0300)
v4l2_compliance fix.
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Kamil Debski <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/platform/mem2mem_testdev.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/mem2mem_testdev.c
b/drivers/media/platform/mem2mem_testdev.c
index 104d86318107d379c1d714473395af4dac9553d1..c4b54f8ac573fdbf947ee34d5b83bb18c49ed476 100644
(file)
--- a/
drivers/media/platform/mem2mem_testdev.c
+++ b/
drivers/media/platform/mem2mem_testdev.c
@@
-532,6
+532,7
@@
static int vidioc_try_fmt(struct v4l2_format *f, struct m2mtest_fmt *fmt)
f->fmt.pix.width &= ~DIM_ALIGN_MASK;
f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3;
f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline;
+ f->fmt.pix.priv = 0;
return 0;
}