linux/drivers/media/platform
Ezequiel Garcia c89502c84b media: pxa-camera: Use v4l2_async_notifier_add_*_subdev
The use of v4l2_async_notifier_add_subdev will be discouraged.
Drivers are instead encouraged to use a helper such as
v4l2_async_notifier_add_fwnode_remote_subdev.

This fixes a misuse of the API, as v4l2_async_notifier_add_subdev
should get a kmalloc'ed struct v4l2_async_subdev.

Use the appropriate helper: v4l2_async_notifier_add_i2c_subdev
or v4l2_async_notifier_add_fwnode_remote_subdev, which handles
the needed setup, instead of open-coding it.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-02-06 08:45:49 +01:00
..
allegro-dvt media: allegro: add support for HEVC encoding 2021-01-27 16:15:04 +01:00
am437x media: use v4l2_rect_enclosed helper 2020-07-04 12:30:13 +02:00
atmel media: atmel: Use v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:41:06 +01:00
cadence media: cadence: Use v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:43:20 +01:00
coda media: coda: Convert the driver to DT-only 2020-12-03 07:37:59 +01:00
davinci media: davinci/vpbe.c: ret contains the return code, not err 2021-01-27 08:32:43 +01:00
exynos-gsc media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
exynos4-is media: exynos4-is: Use v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:42:14 +01:00
marvell-ccic media: marvell-ccic: Use v4l2_async_notifier_add_*_subdev 2021-02-06 08:44:00 +01:00
meson/ge2d media: meson/ge2d: set ret to -ENOMEM 2021-01-27 08:32:16 +01:00
mtk-jpeg media: platform: add missing put_device() call in mtk_jpeg_probe() and mtk_jpeg_remove() 2020-11-16 10:31:16 +01:00
mtk-mdp media: mtk-mdp: Do not zero reserved fields 2021-01-27 13:18:29 +01:00
mtk-vcodec media: mtk-vcodec: fix argument used when DEBUG is defined 2021-01-27 13:45:24 +01:00
mtk-vpu media: mtk-vpu: dump VPU status when IPI times out 2020-12-03 07:42:34 +01:00
omap media: media/platform: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:54:14 +01:00
omap3isp media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:40:36 +01:00
qcom Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
rcar-vin Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
rockchip media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:40:36 +01:00
s3c-camif media: s3c-camif: use semicolons rather than commas to separate statements 2020-11-16 10:31:06 +01:00
s5p-g2d media: s5p-g2d: Fix a memory leak in an error handling path in 'g2d_probe()' 2020-07-19 08:14:00 +02:00
s5p-jpeg media: s5p-jpeg: handle error condition in s5p_jpeg_probe 2020-12-03 07:45:49 +01:00
s5p-mfc media: Rename stateful codec control macros 2020-12-03 12:27:32 +01:00
sti media: sti/hva: add missing clk_disable_unprepare() 2021-01-27 08:34:09 +01:00
stm32 media: stm32: Use v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:41:35 +01:00
sunxi media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:40:36 +01:00
ti-vpe media: ti-vpe: Do not zero reserved fields 2021-01-27 13:21:27 +01:00
vsp1 media: vsp1: Use BIT macro for feature identification 2021-01-12 18:17:43 +01:00
xilinx media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver 2020-06-23 13:11:46 +02:00
aspeed-video.c media: aspeed: fix error return code in aspeed_video_setup_video() 2021-01-12 18:23:51 +01:00
fsl-viu.c media: fsl-viu: Use the ioread/write32be() accessors 2020-12-03 07:49:49 +01:00
imx-pxp.c media: media/platform: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:54:14 +01:00
imx-pxp.h media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
Kconfig media: platform: Remove depends on interconnect 2021-01-27 16:20:02 +01:00
m2m-deinterlace.c media: media/platform: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:54:14 +01:00
Makefile media: allegro: move driver out of staging 2021-01-04 13:19:40 +01:00
mx2_emmaprp.c media: mx2_emmaprp: Fix memleak in emmaprp_probe 2020-09-26 10:15:39 +02:00
pxa_camera.c media: pxa-camera: Use v4l2_async_notifier_add_*_subdev 2021-02-06 08:45:49 +01:00
rcar-fcp.c media: platform: fcp: Fix a reference count leak. 2020-09-27 10:52:52 +02:00
rcar_drif.c media: rcar_drif: Allocate v4l2_async_subdev dynamically 2020-09-10 14:27:04 +02:00
rcar_fdp1.c media: fdp1: Do not zero reserved fields 2021-01-27 13:18:45 +01:00
rcar_jpu.c media: jpu: Do not zero reserved fields 2021-01-27 13:19:03 +01:00
renesas-ceu.c media: renesas-ceu: Use v4l2_async_notifier_add_*_subdev 2021-02-06 08:44:29 +01:00
sh_vou.c media: sh_vou: Drop bogus __refdata annotation 2021-01-12 18:16:09 +01:00
via-camera.c Power management updates for 5.7-rc1 2020-03-30 15:05:01 -07:00
via-camera.h
video-mux.c media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:40:36 +01:00