From 1acb5dcd936550e12d7dfab57be054bc16701f54 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Thu, 23 May 2013 10:42:55 -0300
Subject: [PATCH] upstream: [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
Signed-off-by: Kamil Debski
Signed-off-by: Mauro Carvalho Chehab
---
drivers/media/platform/coda.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c
index 42301a4..a711297 100644
--- a/drivers/media/platform/coda.c
+++ b/drivers/media/platform/coda.c
@@ -878,8 +878,6 @@ static int coda_buf_prepare(struct vb2_buffer *vb)
return -EINVAL;
}
- vb2_set_plane_payload(vb, 0, q_data->sizeimage);
-
return 0;
}
--
2.7.4