On Sat, Dec 07, 2024 at 07:20:42PM +0800, bin.lan.cn@xxxxxxxxxxxxxxxxx wrote: > From: Irui Wang <irui.wang@xxxxxxxxxxxx> > > [ Upstream commit 59d438f8e02ca641c58d77e1feffa000ff809e9f ] > > Handle an invalid decoder vsi in vpu_dec_init to ensure the decoder vsi > is valid for future use. > > Fixes: 590577a4e525 ("[media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver") > > Signed-off-by: Irui Wang <irui.wang@xxxxxxxxxxxx> > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx> > Signed-off-by: Sebastian Fricke <sebastian.fricke@xxxxxxxxxxxxx> > Signed-off-by: Hans Verkuil <hverkuil-cisco@xxxxxxxxx> > [ Replace mtk_vdec_err with mtk_vcodec_err to make it work on 6.1 ] > Signed-off-by: Bin Lan <bin.lan.cn@xxxxxxxxxxxxx> > --- > drivers/media/platform/mediatek/vcodec/vdec_vpu_if.c | 6 ++++++ > 1 file changed, 6 insertions(+) What changed from v1?