diff options
author | 2023-10-07 19:33:47 +0800 | |
---|---|---|
committer | 2023-10-13 11:33:22 +0200 | |
commit | 19e2e01f30b5d2b448b5db097130486ea95af36f (patch) | |
tree | 31e3f6a3fb2592b5268892700e836652cf8b5c47 /tools/perf/scripts/python | |
parent | media: aspeed: Drop unnecessary error check for debugfs_create_file() (diff) | |
download | wireguard-linux-19e2e01f30b5d2b448b5db097130486ea95af36f.tar.xz wireguard-linux-19e2e01f30b5d2b448b5db097130486ea95af36f.zip |
media: mediatek: vcodec: Handle invalid encoder vsi
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@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions