linux-imx/drivers/media/test-drivers/vivid
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
..
Kconfig
Makefile
vivid-cec.c
vivid-cec.h
vivid-core.c
vivid-core.h media: vivid: drop bitmap and clipping output overlay support 2023-03-20 00:30:27 +01:00
vivid-ctrls.c
vivid-ctrls.h
vivid-kthread-cap.c
vivid-kthread-cap.h
vivid-kthread-out.c
vivid-kthread-out.h
vivid-kthread-touch.c
vivid-kthread-touch.h
vivid-meta-cap.c
vivid-meta-cap.h
vivid-meta-out.c
vivid-meta-out.h media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
vivid-osd.c
vivid-osd.h
vivid-radio-common.c
vivid-radio-common.h media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
vivid-radio-rx.c
vivid-radio-rx.h
vivid-radio-tx.c
vivid-radio-tx.h
vivid-rds-gen.c
vivid-rds-gen.h
vivid-sdr-cap.c
vivid-sdr-cap.h
vivid-touch-cap.c
vivid-touch-cap.h
vivid-vbi-cap.c
vivid-vbi-cap.h
vivid-vbi-gen.c
vivid-vbi-gen.h
vivid-vbi-out.c
vivid-vbi-out.h
vivid-vid-cap.c
vivid-vid-cap.h
vivid-vid-common.c media: vivid: Add support for the new YUVA and YUVX formats 2022-07-15 15:01:51 +01:00
vivid-vid-common.h media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
vivid-vid-out.c media: vivid: fix wrong sizeimage value for mplane 2024-09-12 11:11:30 +02:00
vivid-vid-out.h media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00