[media] coda: stop setting bytesused in buf_prepare

The application must have filled the bytesused field,
don't overwrite it here.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Philipp Zabel 2013-05-23 10:42:55 -03:00 committed by Mauro Carvalho Chehab
parent 47cf0c61aa
commit f609222a05

View file

@ -869,8 +869,6 @@ static int coda_buf_prepare(struct vb2_buffer *vb)
return -EINVAL; return -EINVAL;
} }
vb2_set_plane_payload(vb, 0, q_data->sizeimage);
return 0; return 0;
} }