linux-imx/drivers/media/test-drivers
Hans Verkuil 4676bacc6e media: vivid: don't set HDMI TX controls if there are no HDMI outputs
[ Upstream commit 17763960b1 ]

When setting the EDID it would attempt to update two controls
that are only present if there is an HDMI output configured.

If there isn't any (e.g. when the vivid module is loaded with
node_types=1), then calling VIDIOC_S_EDID would crash.

Fix this by first checking if outputs are present.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-12 11:11:31 +02:00
..
vicodec media: vicodec-core: Convert to platform remove callback returning void 2023-04-11 16:59:21 +02:00
vidtv media: vidtv: mux: Add check and kfree for kstrdup 2023-11-20 11:59:32 +01:00
vimc media: Zero-initialize all structures passed to subdev pad operations 2023-04-12 09:46:06 +02:00
visl media: visl: Hook the (TRY_)DECODER_CMD stateless ioctls 2024-01-25 15:35:32 -08:00
vivid media: vivid: don't set HDMI TX controls if there are no HDMI outputs 2024-09-12 11:11:31 +02:00
Kconfig media: visl: add virtual stateless decoder driver 2022-11-25 07:32:16 +00:00
Makefile media: visl: add virtual stateless decoder driver 2022-11-25 07:32:16 +00:00
vim2m.c media: vim2m: Convert to platform remove callback returning void 2023-04-11 16:59:21 +02:00