media: mtk-jpeg: Use vb2_get_buffer
authorEzequiel Garcia <ezequiel@collabora.com>
Mon, 10 Jun 2019 20:55:23 +0000 (16:55 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 20:22:02 +0000 (16:22 -0400)
commit8eebd6150aa5232d4b47b9f0cc33c76b2bf3b06a
tree631c6afa827b42a7e5c3c8174cb5b452590ae523
parent3dd8c097541794c82913092030ad22f8a4cafec1
media: mtk-jpeg: 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c