kernel_samsung_a53x/drivers/media/test-drivers
Hans Verkuil fed608965d media: vivid: don't set HDMI TX controls if there are no HDMI outputs
[ Upstream commit 17763960b1784578e8fe915304b330922f646209 ]

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-11-23 23:21:03 +01:00
..
vicodec
vidtv media: vidtv: mux: Add check and kfree for kstrdup 2024-11-18 11:43:07 +01:00
vimc
vivid media: vivid: don't set HDMI TX controls if there are no HDMI outputs 2024-11-23 23:21:03 +01:00
Kconfig
Makefile
vim2m.c