diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2013-05-23 15:42:55 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-03 21:01:29 +0200 |
commit | f609222a051037ebcbb9c15c90f456c77a23be13 (patch) | |
tree | 905963b0aaa61f808ae64e1ed80e4bcbdbc983f1 /drivers/media/platform/coda.c | |
parent | [media] coda: frame stride must be a multiple of 8 (diff) | |
download | linux-f609222a051037ebcbb9c15c90f456c77a23be13.tar.xz linux-f609222a051037ebcbb9c15c90f456c77a23be13.zip |
[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>
Diffstat (limited to 'drivers/media/platform/coda.c')
-rw-r--r-- | drivers/media/platform/coda.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index b53c74855702..109b9389c0c9 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; } |