• Sakari Ailus's avatar
    media: v4l: async: Simplify async sub-device fwnode matching · 1029939b
    Sakari Ailus authored
    V4L2 async sub-device matching originally used the device nodes only.
    Endpoint nodes were taken into use instead as using the device nodes was
    problematic for it was in some cases ambiguous which link might have been
    in question.
    
    There is however no need to use endpoint nodes on both sides, as the async
    sub-device's fwnode can always be trivially obtained using
    fwnode_graph_get_remote_endpoint() when needed while what counts is
    whether or not the link is between two device nodes, i.e. the device nodes
    match.
    
    This will briefly break the adv748x driver but it will be fixed later in
    the set, by patch "media: adv748x: Return to endpoint matching".
    Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
    Tested-by: Philipp Zabel <p.zabel@pengutronix.de> # imx6qp
    Tested-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> # rcar + adv746x
    Tested-by: Aishwarya Kothari <aishwarya.kothari@toradex.com> # Apalis i.MX6Q with TC358743
    Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # Renesas RZ/G2L SMARC
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
    1029939b
tc358746.c 41.6 KB