]> asedeno.scripts.mit.edu Git - linux.git/commit
media: venus: venc: fix bytesused v4l2_plane field
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Tue, 10 Oct 2017 07:52:36 +0000 (09:52 +0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 27 Oct 2017 11:59:25 +0000 (13:59 +0200)
commit5232c37ce244db04fd50d160b92e40d2df46a2e9
treeb19b3832f792941c509c7a747b56373534bc0595
parentf103ea11cd037943b511fa71c852ff14cc6de8ee
media: venus: venc: fix bytesused v4l2_plane field

This fixes wrongly filled bytesused field of v4l2_plane structure
by include data_offset in the plane, Also fill data_offset and
bytesused for capture type of buffers only.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v4.13 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/qcom/venus/venc.c