linux/drivers/media
Ezequiel Garcia 49cff8db6c media: stm32: Use v4l2_async_notifier_add_fwnode_remote_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,
removing some boilerplate code while at it.

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

This results in removal of the now unneeded driver-specific state
struct dcmi_graph_entity, keeping track of just the source
subdevice.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
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:41:35 +01:00
..
cec Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
common Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
dvb-core media: dvb_frontend: Fix fall-through warnings for Clang 2021-01-27 12:55:53 +01:00
dvb-frontends media: mxl692: MaxLinear 692 ATSC demod/tuner driver 2021-02-05 23:37:59 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: i2c: ov5648: remove unnecessary NULL check 2021-02-06 08:38:29 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:40:36 +01:00
platform media: stm32: Use v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:41:35 +01:00
radio media: si4713: remove trailing semicolon in macro definition 2020-12-03 08:54:13 +01:00
rc Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
spi
test-drivers media: vidtv: adapter->mdev was set too late 2021-02-05 23:52:58 +01:00
tuners media: qm1d1c0042: fix error return code in qm1d1c0042_init() 2021-01-27 12:59:17 +01:00
usb media: uvc: strncpy -> strscpy 2021-02-05 23:53:20 +01:00
v4l2-core media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev 2021-02-06 08:40:36 +01:00
Kconfig media: Remove superfluous dependency for MEDIA_SUPPORT_FILTER 2020-11-27 12:19:25 +01:00
Makefile