OSDN Git Service

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)
commit5e316ff52cd717e98dacdb8e006ee40cc6aa1e8b
treebc85b6126c3af2cd1360ea938a22d25c547ad37a
parent507a0ba93aa1cf2837d2abc4ab0cbad3c29409d3
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