linux_dsm_epyc7002/drivers/media/platform/vivid
Guillaume Tucker 79e85d1d2c media: vivid: fix device init when no_error_inj=1 and fb disabled
Add an extra condition to add the video output control class when the
device has some hdmi outputs defined.  This is required to then always
be able to add the display present control, which is enabled when
there are some hdmi outputs.

This fixes the corner case where no_error_inj is enabled and the
device has no frame buffer but some hdmi outputs, as otherwise the
video output control class would be added anyway.  Without this fix,
the sanity checks fail in v4l2_ctrl_new() as name is NULL.

Fixes: c533435ffb ("media: vivid: add display present control")
Cc: stable@vger.kernel.org # for 5.3
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-07-25 06:31:30 -04:00
..
Kconfig Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vivid-cec.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
vivid-cec.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-core.c media: vivid: reorder CEC allocation and control set-up 2019-06-21 17:34:06 -04:00
vivid-core.h media: vivid: add HDMI (dis)connect RX emulation 2019-06-21 17:33:14 -04:00
vivid-ctrls.c media: vivid: fix device init when no_error_inj=1 and fb disabled 2019-07-25 06:31:30 -04:00
vivid-ctrls.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-cap.c media: vivid: work around high stack usage with clang 2019-07-23 11:42:20 -04:00
vivid-kthread-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-out.c media: vivid: fix error handling of kthread_run 2018-11-23 06:06:03 -05:00
vivid-kthread-out.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-osd.c media: vivid: fix incorrect assignment operation when setting video mode 2019-06-05 15:25:15 -04:00
vivid-osd.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-common.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vivid-radio-common.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-rx.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vivid-radio-rx.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-tx.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vivid-radio-tx.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-rds-gen.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vivid-rds-gen.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-sdr-cap.c media: vivid: drop v4l2_ctrl_request_complete() from start_streaming 2018-12-03 15:04:07 -05:00
vivid-sdr-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-cap.c media: vivid: make input std_signal per-input 2019-06-21 17:28:25 -04:00
vivid-vbi-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-gen.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-gen.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-out.c media: vivid: drop v4l2_ctrl_request_complete() from start_streaming 2018-12-03 15:04:07 -05:00
vivid-vbi-out.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vid-cap.c media: vivid: add CEC support to display present ctrl 2019-06-21 17:34:44 -04:00
vivid-vid-cap.h media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00
vivid-vid-common.c media: vivid: add CEC support to display present ctrl 2019-06-21 17:34:44 -04:00
vivid-vid-common.h media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap, out}_mplane 2019-06-05 07:48:32 -04:00
vivid-vid-out.c media: vivid: add display present control 2019-06-21 17:31:06 -04:00
vivid-vid-out.h media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00