linux/drivers/media/platform
Benjamin Gaignard f100ce3bbd media: verisilicon: Fix crash when probing encoder
ctx->vpu_dst_fmt is no more initialized before calling hantro_try_fmt()
so assigne it to vpu_fmt led to crash the kernel.
Like for decoder case use 'fmt' as format for encoder and clean up
the code.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Fixes: db6f68b51e ("media: verisilicon: Do not set context src/dst formats in reset functions")
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-04-13 12:58:55 +02:00
..
allegro-dvt media: allegro-core: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amlogic media: ge2d: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amphion media: vpu_drv: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
aspeed media: aspeed-video: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
atmel media: Fix indentation issues introduced by subdev-wide state struct 2023-04-12 09:46:06 +02:00
cadence media: cdns-csi2tx: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
chips-media media: coda-common: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
intel media: Fix indentation issues introduced by subdev-wide state struct 2023-04-12 09:46:06 +02:00
marvell media: Fix indentation issues introduced by subdev-wide state struct 2023-04-12 09:46:06 +02:00
mediatek media: Use of_property_present() for testing DT property presence 2023-04-11 18:54:01 +02:00
microchip media: Use designated initializers for all subdev pad ops 2023-04-12 09:46:07 +02:00
nvidia media: vde: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
nxp media: imx-jpeg: Fix incorrect indentation 2023-04-12 09:46:06 +02:00
qcom media: Zero-initialize all structures passed to subdev pad operations 2023-04-12 09:46:06 +02:00
renesas media: Use designated initializers for all subdev pad ops 2023-04-12 09:46:07 +02:00
rockchip media: Fix indentation issues introduced by subdev-wide state struct 2023-04-12 09:46:06 +02:00
samsung media: Prefer designated initializers over memset for subdev pad ops 2023-04-12 09:46:06 +02:00
st media: stm32-dcmi: Convert to platform remove callback returning void 2023-04-11 16:59:18 +02:00
sunxi media: sun8i_rotate: Convert to platform remove callback returning void 2023-04-11 16:59:19 +02:00
ti media: Prefer designated initializers over memset for subdev pad ops 2023-04-12 09:46:06 +02:00
verisilicon media: verisilicon: Fix crash when probing encoder 2023-04-13 12:58:55 +02:00
via media: Fix indentation issues introduced by subdev-wide state struct 2023-04-12 09:46:06 +02:00
xilinx media: Zero-initialize all structures passed to subdev pad operations 2023-04-12 09:46:06 +02:00
Kconfig media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
m2m-deinterlace.c media: m2m-deinterlace: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
Makefile media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
video-mux.c media: video-mux: Convert to platform remove callback returning void 2023-04-11 16:59:19 +02:00