Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}