linux_dsm_epyc7002/drivers/media/platform
Hans Verkuil 0fa2c5f954 media: vivid: fix module load error when enabling fb and no_error_inj=1
If the framebuffer is enabled and error injection is disabled, then
creating the controls for the video output device would fail with an
error.

This is because the Clear Framebuffer control uses the 'vivid control
class' and that control class isn't added if error injection is disabled.

In addition, this control was added to e.g. vbi devices as well, which
makes no sense.

Move this control to its own control handler and handle it correctly.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: <stable@vger.kernel.org>      # for v4.15 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-01-30 07:18:22 -05:00
..
am437x media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
atmel media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
blackfin media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
cec-gpio [media] cec-gpio: don't generate spurious HPD events 2017-10-04 17:04:18 -03:00
coda media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
davinci media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
exynos4-is media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
exynos-gsc media: exynos-gsc: Drop obsolete capabilities 2017-12-18 15:09:37 -05:00
marvell-ccic License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
meson
mtk-jpeg
mtk-mdp License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtk-vcodec media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
mtk-vpu media: mtk-vpu: add description for wdt fields at struct mtk_vpu 2017-11-30 04:19:00 -05:00
omap media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
omap3isp media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
qcom media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
rcar-vin media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
rockchip/rga media: rockchip/rga: annotate PM functions as __maybe_unused 2017-10-31 07:21:56 -04:00
s3c-camif media: s3c-camif: add missing description at s3c_camif_find_format() 2017-11-30 04:19:00 -05:00
s5p-cec
s5p-g2d
s5p-jpeg media: s5p-jpeg: Fix off-by-one problem 2017-12-18 15:12:30 -05:00
s5p-mfc media: s5p-mfc: Fix lock contention - request_firmware() once 2017-12-18 15:11:01 -05:00
soc_camera media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
sti media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
stm32 media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
tegra-cec media: tegra-cec: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2017-12-08 11:15:17 -05:00
ti-vpe media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
vimc media: v4l2-tpg*.h: move headers to include/media/tpg and merge them 2017-12-18 12:28:35 -05:00
vivid media: vivid: fix module load error when enabling fb and no_error_inj=1 2018-01-30 07:18:22 -05:00
vsp1 media: vsp1: Prevent suspending and resuming DRM pipelines 2017-12-08 10:40:10 -05:00
xilinx media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
arv.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
fsl-viu.c treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
Kconfig media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
m2m-deinterlace.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
Makefile media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
mx2_emmaprp.c
pxa_camera.c media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
rcar_drif.c media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
rcar_fdp1.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
rcar_jpu.c media: rcar_jpu: fix two kernel-doc markups 2017-11-30 04:19:03 -05:00
rcar-fcp.c
sh_veu.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
sh_vou.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
via-camera.c
via-camera.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
video-mux.c
vim2m.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00