浏览代码

[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>
Philipp Zabel 12 年之前
父节点
当前提交
f609222a05
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/media/platform/coda.c

+ 0 - 2
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;
 }