]> asedeno.scripts.mit.edu Git - linux.git/commit
media: mtk-vcodec: Use vb2_get_buffer
authorEzequiel Garcia <ezequiel@collabora.com>
Mon, 10 Jun 2019 20:55:24 +0000 (16:55 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 20:23:46 +0000 (16:23 -0400)
commit9e393300167be4d0c6a6d17330de1fba9a675212
tree0704066c54304508ee6942c55d990a971b173df4
parent8eebd6150aa5232d4b47b9f0cc33c76b2bf3b06a
media: mtk-vcodec: Use vb2_get_buffer

Use the newly introduced vb2_get_buffer API and avoid
accessing buffers in the queue directly.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: fixed checkpatch alignment warning]
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c