]> git.baikalelectronics.ru Git - kernel.git/commit
media: mtk-vcodec: vdec: use helpers in VIDIOC_(TRY_)DECODER_CMD
authorAlexandre Courbot <acourbot@chromium.org>
Fri, 6 Aug 2021 04:15:18 +0000 (06:15 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:41 +0000 (10:07 +0200)
commitf83851c1c8a5289d3ff69c9713336cfc11d9f853
tree4163e8eda7941773ac9a9643821c2eb4ce4b1361
parent36d9fad2cc6329e43f55d0097a4543c71d2fd772
media: mtk-vcodec: vdec: use helpers in VIDIOC_(TRY_)DECODER_CMD

Let's use the dedicated helpers to make sure we get the expected
behavior and remove redundant code.

Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c