Files
linux/drivers
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
..
2021-02-01 10:03:45 +01:00
2021-02-01 10:03:45 +01:00
2021-01-14 20:56:56 +00:00
2020-12-07 10:08:14 +01:00
2020-12-02 22:35:44 +01:00
2021-01-05 15:50:36 -08:00
2020-12-09 19:26:02 -06:00
2020-12-15 22:50:12 +11:00
2021-01-25 12:53:48 +00:00
2020-12-10 10:45:36 +01:00
2020-12-09 19:44:34 +01:00