kernel_samsung_a53x/drivers/media/test-drivers/vivid
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
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-cec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-cec.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-ctrls.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-ctrls.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-kthread-cap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-kthread-cap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-kthread-out.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-kthread-out.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-kthread-touch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-kthread-touch.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-meta-cap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-meta-cap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-meta-out.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-meta-out.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-osd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-osd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-radio-common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-radio-common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-radio-rx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-radio-rx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-radio-tx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-radio-tx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-rds-gen.c media: vivid: avoid integer overflow 2024-11-18 11:43:15 +01:00
vivid-rds-gen.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-sdr-cap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-sdr-cap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-touch-cap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-touch-cap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-vbi-cap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-vbi-cap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-vbi-gen.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-vbi-gen.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-vbi-out.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-vbi-out.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-vid-cap.c media: vivid: don't set HDMI TX controls if there are no HDMI outputs 2024-11-23 23:21:03 +01:00
vivid-vid-cap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-vid-common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-vid-common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vivid-vid-out.c media: vivid: fix wrong sizeimage value for mplane 2024-11-23 23:21:03 +01:00
vivid-vid-out.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00