Re: [PATCH v2] media: mediatek: vcodec: Fix v4l2 compliance decoder cmd test fail

From: AngeloGioacchino Del Regno
Date: Tue Apr 05 2022 - 16:35:16 EST

Il 01/04/22 10:13, Yunfei Dong ha scritto:
Will return -EINVAL using standard framework api when test stateless
decoder with cmd VIDIOC_(TRY)DECODER_CMD.

Using another return value to adjust v4l2 compliance test for user
driver(GStreamer/Chrome) won't use decoder cmd.

Fixes: 8cdc3794b2e3 ("media: mtk-vcodec: vdec: support stateless API")
Signed-off-by: Yunfei Dong <yunfei.dong@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>