diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2013-09-30 10:34:53 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-10-28 16:50:50 -0200 |
commit | 867f1edbcca970f6ec6d797764dbd165f4e528ab (patch) | |
tree | 0085946b7bffb22fe947ff1d818f68efca5331ea /drivers/media/platform/coda.c | |
parent | 64ba40accce3e6bb916a36390d3e202085804da8 (diff) | |
download | talos-op-linux-867f1edbcca970f6ec6d797764dbd165f4e528ab.tar.gz talos-op-linux-867f1edbcca970f6ec6d797764dbd165f4e528ab.zip |
[media] coda: v4l2-compliance fix: zero pixel format priv field
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>
Diffstat (limited to 'drivers/media/platform/coda.c')
-rw-r--r-- | drivers/media/platform/coda.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index b541c069ffe9..ed4998c224f8 100644 --- 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; } |