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: NAlexandre Courbot <acourbot@chromium.org> Signed-off-by: NTzung-Bi Shih <tzungbi@google.com> Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Showing
想要评论请 注册 或 登录