2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/drivers/media/platform
Steve Longerbeam eae2aed1ea media: v4l2-fwnode: Switch to v4l2_async_notifier_add_subdev
The fwnode endpoint and reference parsing functions in v4l2-fwnode.c
are modified to make use of v4l2_async_notifier_add_subdev().
As a result the notifier->subdevs array is no longer allocated or
re-allocated, and by extension the max_subdevs value is also no
longer needed.

Callers of the fwnode endpoint and reference parsing functions must now
first initialize the notifier with a call to v4l2_async_notifier_init().
This includes the function v4l2_async_register_subdev_sensor_common(),
and the intel-ipu3, omap3isp, and rcar-vin drivers.

Since the notifier->subdevs array is no longer allocated in the
fwnode endpoint and reference parsing functions, the callers of
those functions must never reference that array, since it is now
NULL. Of the drivers that make use of the fwnode/ref parsing,
only the intel-ipu3 driver references the ->subdevs[] array,
(in the notifier completion callback), so that driver has been
modified to iterate through the notifier->asd_list instead.

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-10-04 15:33:09 -04:00
..
am437x media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
atmel media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
cadence media: v4l: cadence: add VIDEO_V4L2 dependency 2018-06-27 09:51:49 -04:00
cec-gpio media: cec-gpio: support 5v testing 2018-07-25 07:12:36 -04:00
coda media: coda: don't overwrite h.264 profile_idc on decoder instance 2018-09-24 09:30:54 -04:00
cros-ec-cec media: platform: Add ChromeOS EC CEC driver 2018-07-13 08:44:46 +01:00
davinci media: davinci: Fix implicit enum conversion warning 2018-09-24 09:43:13 -04:00
exynos4-is media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
exynos-gsc media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
marvell-ccic media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
meson media: platform: meson-ao-cec: make busy TX warning silent 2018-07-24 17:52:20 -04:00
mtk-jpeg media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
mtk-mdp media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
mtk-vcodec media: mtk_vcodec_util: Use dma_zalloc_coherent to replace dma_alloc_coherent + memset 2018-09-12 10:48:59 -04:00
mtk-vpu media: VPU: mediatek: don't pass an unused parameter 2018-10-04 14:27:16 -04:00
omap media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
omap3isp media: v4l2-fwnode: Switch to v4l2_async_notifier_add_subdev 2018-10-04 15:33:09 -04:00
qcom media: qcom: remove duplicated include file 2018-10-04 14:28:12 -04:00
rcar-vin media: v4l2-fwnode: Switch to v4l2_async_notifier_add_subdev 2018-10-04 15:33:09 -04:00
rockchip/rga media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
s3c-camif media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
s5p-cec media: s5p-cec: add NACK detection support 2017-09-23 07:29:30 -04:00
s5p-g2d media: mem2mem: Make .job_abort optional 2018-07-24 17:45:08 -04:00
s5p-jpeg media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
s5p-mfc media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
soc_camera media: v4l: Remove support for crop default target in subdev drivers 2018-10-03 11:58:24 -04:00
sti media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
stm32 media: stm32-dcmi: only enable IT frame on JPEG capture 2018-10-04 14:29:43 -04:00
tegra-cec media: tegra-cec: reset rx_buf_cnt when start bit detected 2018-03-05 07:46:24 -05:00
ti-vpe media: platform: remove redundant null pointer check before of_node_put 2018-09-24 09:28:41 -04:00
vicodec media: vicodec: Drop unused job_abort() 2018-09-24 09:13:48 -04:00
vimc media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vivid media: replace ADOBERGB by OPRGB 2018-09-24 09:21:47 -04:00
vsp1 media: vsp1: Document max_width restriction on UDS 2018-09-17 14:54:20 -04:00
xilinx media: Convert to using %pOFn instead of device_node.name 2018-09-12 11:09:48 -04:00
fsl-viu.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
imx-pxp.c media: imx-pxp: include linux/interrupt.h 2018-10-04 14:30:14 -04:00
imx-pxp.h media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
Kconfig media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
m2m-deinterlace.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
Makefile media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
mx2_emmaprp.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
pxa_camera.c media: pxa_camera: Fix check for pdev->dev.of_node 2018-10-04 14:29:14 -04:00
rcar_drif.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
rcar_fdp1.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
rcar_jpu.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -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: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
sh_veu.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
sh_vou.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
via-camera.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
via-camera.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
video-mux.c media: Convert to using %pOFn instead of device_node.name 2018-09-12 11:09:48 -04:00
vim2m.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00