[media] coda: use vb2_set_plane_payload instead of setting v4l2_planes[0].bytesused...
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 21 Jun 2013 06:55:27 +0000 (03:55 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 15:13:01 +0000 (12:13 -0300)
commit366108f0ecfddc1957e02e9cc42db4c2e1053e24
tree20cc3e31449299cdcdae7e5e6e4eaddfd0e83415
parente2c257f4588e3e2de1d3a9f203644ff6619ad886
[media] coda: use vb2_set_plane_payload instead of setting v4l2_planes[0].bytesused directly

As stated in the vb2_buffer documentation, drivers should not directly fill
in v4l2_planes[0].bytesused, but should use the vb2_set_plane_payload()
function instead. No functional changes.

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