Re: [PATCH v2] media: mediatek: vcodec: Handle invalid encoder vsi

From: AngeloGioacchino Del Regno
Date: Mon Oct 09 2023 - 08:39:54 EST


Il 07/10/23 13:33, Irui Wang ha scritto:
Handle invalid encoder vsi in vpu_enc_init to ensure the encoder
vsi is valid for future use.

Fixes: 1972e32431ed ("media: mediatek: vcodec: Fix possible invalid memory access for encoder")

Signed-off-by: Irui Wang <irui.wang@xxxxxxxxxxxx>

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