linux/drivers/media/platform
Irui Wang 19e2e01f30 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: 1972e32431 ("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>
2023-10-13 11:33:22 +02:00
..
allegro-dvt media: allegro: Annotate struct mcu_msg_push_buffers_internal with __counted_by 2023-10-07 10:55:45 +02:00
amlogic media: ge2d: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amphion media: amphion: handle firmware debug message 2023-10-07 10:55:44 +02:00
aspeed media: aspeed: Drop unnecessary error check for debugfs_create_file() 2023-10-13 11:33:22 +02:00
atmel media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
cadence media: cadence: csi2rx: Add link validation 2023-10-12 09:22:28 +02:00
chips-media media: coda: Remove duplicated include 2023-08-14 20:27:58 +02:00
intel media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
marvell media: v4l: Use correct dependency for camera sensor drivers 2023-09-14 12:38:17 +02:00
mediatek media: mediatek: vcodec: Handle invalid encoder vsi 2023-10-13 11:33:22 +02:00
microchip media: microchip: don't set bus_info 2023-09-27 10:47:23 +02:00
nuvoton media: nuvoton: npcm-video: Fix IS_ERR() vs NULL bug 2023-10-07 10:55:45 +02:00
nvidia media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
nxp media: nxp: imx-jpeg: use goto instead of return 2023-10-13 11:33:22 +02:00
qcom media: qcom: venus: fix incorrect return value 2023-10-12 10:12:54 +02:00
renesas media: rcar_drif: use explicit name for bus_info 2023-09-27 10:47:23 +02:00
rockchip media: rkisp1: resizer: Fix resizer disable check when starting stream 2023-10-12 09:46:38 +02:00
samsung media: s5p-mfc: Fix potential deadlock on condlock 2023-10-07 10:55:45 +02:00
st media: c8sectpfe: Use the devm_clk_get_enabled() helper function 2023-09-27 09:39:55 +02:00
sunxi media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
ti media: ti: Add CSI2RX support for J721E 2023-10-12 09:22:29 +02:00
verisilicon media: verisilicon: Fixes clock list for rk3588 av1 decoder 2023-10-13 11:33:22 +02:00
via media: via: Use correct dependency for camera sensor drivers 2023-09-14 12:38:17 +02:00
xilinx media: platform: Use dev_err_probe instead of dev_err 2023-09-27 09:40:01 +02:00
Kconfig media: nuvoton: Add driver for NPCM video capture and encoding engine 2023-09-27 09:40:02 +02:00
m2m-deinterlace.c media: m2m-deinterlace: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
Makefile media: nuvoton: Add driver for NPCM video capture and encoding engine 2023-09-27 09:40:02 +02:00
video-mux.c media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00