summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2013-05-23 10:42:55 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-03 16:01:29 -0300
commitf609222a051037ebcbb9c15c90f456c77a23be13 (patch)
tree905963b0aaa61f808ae64e1ed80e4bcbdbc983f1
parent47cf0c61aaf47f9940d3eccc64e870d7f8013590 (diff)
downloadop-kernel-dev-f609222a051037ebcbb9c15c90f456c77a23be13.zip
op-kernel-dev-f609222a051037ebcbb9c15c90f456c77a23be13.tar.gz
[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>
-rw-r--r--drivers/media/platform/coda.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c
index b53c7485..109b938 100644
--- a/drivers/media/platform/coda.c
+++ b/drivers/media/platform/coda.c
@@ -869,8 +869,6 @@ static int coda_buf_prepare(struct vb2_buffer *vb)
return -EINVAL;
}
- vb2_set_plane_payload(vb, 0, q_data->sizeimage);
-
return 0;
}
OpenPOWER on IntegriCloud