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:
64ba40a
)
[media] coda: v4l2-compliance fix: zero pixel format priv field
author
Philipp Zabel
<p.zabel@pengutronix.de>
Mon, 30 Sep 2013 13:34:53 +0000
(10:34 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Mon, 28 Oct 2013 18:50:50 +0000
(16:50 -0200)
If unused, the pixel format priv field has to be cleared by the driver
in try_fmt.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/coda.c
b/drivers/media/platform/coda.c
index b541c069ffe9be40b6ab1b85f2e237a2719ef8d2..ed4998c224f8f8956962711224cf1bac747e5eaa 100644
(file)
--- a/
drivers/media/platform/coda.c
+++ b/
drivers/media/platform/coda.c
@@
-613,6
+613,8
@@
static int coda_try_fmt(struct coda_ctx *ctx, struct coda_codec *codec,
BUG();
}
+ f->fmt.pix.priv = 0;
+
return 0;
}