linux/drivers/media/platform/nxp
Marek Vasut 3e62aba828 media: imx-mipi-csis: Check csis_fmt validity before use
The find_csis_format() may return NULL in case supported format is not
found, check the return value of find_csis_format() before using the
result to avoid NULL pointer dereference.

Fixes: 11927d0fd0 ("media: imx-mipi-csis: Use V4L2 subdev active state")
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-02-26 11:21:33 +01:00
..
dw100 media: dw100: Add a missing unwind goto in dw100_probe() 2023-01-22 09:26:14 +01:00
imx-jpeg media: imx-jpeg: Apply clk_bulk api instead of operating specific clk 2023-02-08 07:31:17 +01:00
imx7-media-csi.c media: imx: imx7-media-csi: Use V4L2 subdev active state 2023-02-08 09:08:02 +01:00
imx-mipi-csis.c media: imx-mipi-csis: Check csis_fmt validity before use 2023-02-26 11:21:33 +01:00
imx-pxp.c media: imx-pxp: convert to regmap 2023-02-08 09:21:30 +01:00
imx-pxp.h
Kconfig media: imx: Unstage the imx7-media-csi driver 2022-11-25 08:34:39 +00:00
Makefile media: imx: Unstage the imx7-media-csi driver 2022-11-25 08:34:39 +00:00
mx2_emmaprp.c