diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2021-01-18 02:52:45 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-02-06 08:40:36 +0100 |
commit | c1cf3d896d124e3e00794f9bfbde49f0fc279e3f (patch) | |
tree | 40a706481c461b75bdc74d64f1746ea56483274f /sound/soc/sh | |
parent | 38a50230292f232852f4e648d5e0a1cfaf37081b (diff) |
media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev
Change v4l2_async_notifier_add_fwnode_remote_subdev semantics
so it allocates the struct v4l2_async_subdev pointer.
This makes the API consistent: the v4l2-async subdevice addition
functions have now a unified usage model. This model is simpler,
as it makes v4l2-async responsible for the allocation and release
of the subdevice descriptor, and no longer something the driver
has to worry about.
On the user side, the change makes the API simpler for the drivers
to use and less error-prone.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'sound/soc/sh')
0 files changed, 0 insertions, 0 deletions