]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2-fwnode: add endpoint id field to v4l2_fwnode_link
authorMarco Felsch <m.felsch@pengutronix.de>
Thu, 12 Mar 2020 10:31:41 +0000 (11:31 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 15:31:38 +0000 (16:31 +0100)
commita1eaa26a1e691106a1043f739d9c895a5c1acef6
treebc85b6126c3af2cd1360ea938a22d25c547ad37a
parentb8a40a5dd9044aa124858ddb172a0ba28a4f4453
media: v4l2-fwnode: add endpoint id field to v4l2_fwnode_link

A link is between two endpoints not between two ports to be more
precise. Add the local_id/remote_id field which stores the endpoint
reg/port property to the link. Now the link holds all necessary
information about a link.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-fwnode.c
include/media/v4l2-fwnode.h