media: mtk-vcodec: fix access to vb2_v4l2_buffer struct
authorAlexandre Courbot <acourbot@chromium.org>
Wed, 6 Mar 2019 06:15:02 +0000 (01:15 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 19 Mar 2019 17:48:15 +0000 (13:48 -0400)
commit3235d3946429f64b19addfd89fc926a36eaec06a
tree22497c1f58bd08e9946bfd0c5a82478bfad8124c
parentf29a317b9c33be536ab516a89a921719f907137e
media: mtk-vcodec: fix access to vb2_v4l2_buffer struct

Commit 0650a91499e0 ("media: mtk-vcodec: Correct return type for mem2mem
buffer helpers") fixed the return types for mem2mem buffer helper
functions, but omitted two occurrences that are accessed in the
mtk_v4l2_debug() macro. These only trigger compiler errors when DEBUG is
defined.

Fixes: 0650a91499e0 ("media: mtk-vcodec: Correct return type for mem2mem buffer helpers")
Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c