aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2020-07-01 08:21:37 +0200
committerMauro Carvalho Chehab <[email protected]>2020-07-19 14:16:09 +0200
commit35694afc92646ac24d7f3ef34a7387876d998fe7 (patch)
tree72219435a624de00328a81e6253d66d737a40afe /lib/test_overflow.c
parent34009bffc1c6e6cf7f6a2a85e8e184c6e06193fc (diff)
media: device property: Add a function to test is a fwnode is a graph endpoint
Drivers may need to test if a fwnode is a graph endpoint. To avoid hand-written solutions that wouldn't work for all fwnode types, add a new fwnode_graph_is_endpoint() function for this purpose. We don't need to wire it up to different backends for OF and ACPI for now, as the implementation can simply be based on checkout the presence of a remote-endpoint property. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Reviewed-by: Lad Prabhakar <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions