Commit f609222a authored by Philipp Zabel's avatar Philipp Zabel Committed by Mauro Carvalho Chehab

[media] coda: stop setting bytesused in buf_prepare

The application must have filled the bytesused field,
don't overwrite it here.
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 <mchehab@redhat.com>
parent 47cf0c61
...@@ -869,8 +869,6 @@ static int coda_buf_prepare(struct vb2_buffer *vb) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment