linux_dsm_epyc7002/drivers/media/platform
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
..
am437x media: am437x: remove unused struct vpfe_pixel_format 2019-07-25 06:31:11 -04:00
atmel media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
cadence treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cec-gpio Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
coda media: coda: set device_caps in struct video_device 2019-07-22 14:45:10 -04:00
cros-ec-cec media: cros-ec-cec: use cec_notifier_cec_adap_(un)register 2019-07-23 08:37:38 -04:00
davinci media: davinci/vpfe_capture.c: drop unused format descriptions 2019-07-25 06:30:00 -04:00
exynos4-is media: exynos4-is: fix leaked of_node references 2019-07-23 11:43:12 -04:00
exynos-gsc media: media/platform: don't set description in ENUM_FMT 2019-07-22 14:43:59 -04:00
marvell-ccic media: marvell-ccic: mmp: add MODULE_DEVICE_TABLE 2019-07-25 06:27:14 -04:00
meson media: platform: meson-ao-cec-g12a: add support for SM1 2019-07-23 08:51:50 -04:00
mtk-jpeg media: mtk-jpeg: Use vb2_get_buffer 2019-06-21 16:22:02 -04:00
mtk-mdp Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk-vcodec media: mtk-vcodec: remove unneeded proxy functions 2019-06-21 17:10:20 -04:00
mtk-vpu Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
omap media: omap_vout: use struct v4l2_fh 2019-07-23 11:50:13 -04:00
omap3isp media: v4l: ctrls: Add debug messages 2019-07-25 06:26:49 -04:00
qcom Linux 5.2-rc5 2019-06-21 16:09:25 -04:00
rcar-vin media: rcar-vin: Centralize black listing of pixel formats 2019-07-25 06:22:43 -04:00
rockchip/rga treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
s3c-camif media: s3c-camif/s5p-g2d/s5p-jpeg: set device_caps in struct video_device 2019-07-22 14:45:40 -04:00
s5p-cec media: s5p-cec: use cec_notifier_cec_adap_(un)register 2019-07-23 08:39:27 -04:00
s5p-g2d media: s3c-camif/s5p-g2d/s5p-jpeg: set device_caps in struct video_device 2019-07-22 14:45:40 -04:00
s5p-jpeg media: s3c-camif/s5p-g2d/s5p-jpeg: set device_caps in struct video_device 2019-07-22 14:45:40 -04:00
s5p-mfc media: media/platform: don't set description in ENUM_FMT 2019-07-22 14:43:59 -04:00
seco-cec media: seco-cec: use cec_notifier_cec_adap_(un)register 2019-07-23 08:38:56 -04:00
sti media: stih-cec: use cec_notifier_cec_adap_(un)register 2019-07-23 08:40:00 -04:00
stm32 media: stm32-dcmi: fix irq = 0 case 2019-06-05 15:28:32 -04:00
sunxi/sun6i-csi media: sun6i: Support A83T variant 2019-05-29 11:27:55 -04:00
tegra-cec media: tegra-cec: use cec_notifier_cec_adap_(un)register 2019-07-23 08:40:57 -04:00
ti-vpe media: ti-vpe: fix leaked of_node references 2019-07-23 11:43:38 -04:00
vicodec media: vicodec: improve handling of ENC_CMD_STOP/START 2019-06-11 11:33:44 -04:00
vimc media: vimc: stream: format comments as kernel-doc 2019-07-23 11:54:10 -04:00
vivid media: vivid: fix device init when no_error_inj=1 and fb disabled 2019-07-25 06:31:30 -04:00
vsp1 media: vsp1: set device_caps in struct video_device 2019-07-22 15:09:30 -04:00
xilinx media: xilinx: set device_caps in struct video_device 2019-07-22 15:08:47 -04:00
aspeed-video.c media: aspeed: add a workaround to fix a silicon bug 2019-06-21 17:21:42 -04:00
fsl-viu.c media: fsl-viu: set device_caps in struct video_device 2019-07-22 14:48:39 -04:00
imx-pxp.c media: replace strncpy() by strscpy() 2019-03-29 10:26:13 -04:00
imx-pxp.h media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
Kconfig Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
m2m-deinterlace.c media: m2m-deinterlace: use struct v4l2_fh 2019-07-23 11:49:41 -04:00
Makefile media: soc_camera: Move to the staging tree 2019-02-18 12:09:19 -05:00
mx2_emmaprp.c media: mx2_emmaprp: use struct v4l2_fh 2019-07-23 11:51:35 -04:00
pxa_camera.c media: pxa_camera: don't set caps in querycap 2019-07-22 15:07:10 -04:00
rcar_drif.c media: rcar_drif: Remove devm_ioremap_resource() error printing 2019-03-19 13:44:38 -04:00
rcar_fdp1.c media: fdp1: Support M3N and E3 platforms 2019-06-11 12:29:54 -04:00
rcar_jpu.c media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap, out}_mplane 2019-06-05 07:48:32 -04:00
rcar-fcp.c Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
renesas-ceu.c media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap, out}_mplane 2019-06-05 07:48:32 -04:00
sh_veu.c media: sh_veu: convert to struct v4l2_fh 2019-07-25 06:29:26 -04:00
sh_vou.c media: sh_veu/sh_vou: set device_caps in struct video_device 2019-07-22 15:09:06 -04:00
via-camera.c media: via-camera: fix v4l2-compliance fails 2019-07-23 11:39:56 -04:00
via-camera.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
video-mux.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
vim2m.c media: vim2m: fix two double-free issues 2019-05-28 12:49:42 -04:00