Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 867f1edb authored by Philipp Zabel's avatar Philipp Zabel Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarKamil Debski <k.debski@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 64ba40ac
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}