]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: v4l2-subdev: Refactor returning routes
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 25 Aug 2025 10:07:50 +0000 (13:07 +0300)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 7 May 2026 10:23:49 +0000 (13:23 +0300)
commit1155f8e0ccb36570caa2aabe5f00e617deed3a59
tree48c081ca62f53cf808a08c7ce44fc92446aa2026
parentef56c563c4b756c6ab7ee02ea5d3b7cb7b70748c
media: v4l2-subdev: Refactor returning routes

Refactor returning the routes by adding a new function that essentially
does a memcopy and sets the number of the routes in the routing table.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Michael Riesch <michael.riesch@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/media/v4l2-core/v4l2-subdev.c