aboutsummaryrefslogtreecommitdiff
path: root/fs/debugfs/internal.h
diff options
context:
space:
mode:
authorSteve Longerbeam2018-09-29 15:54:04 -0400
committerMauro Carvalho Chehab2018-10-04 14:53:20 -0400
commit4382f37b78e02bb9a9d68cf0aef7928f0aaeff73 (patch)
treea161513617ccd6acbe35bb47e37f384fc8e03095 /fs/debugfs/internal.h
parente7898055ad4034d235a92abf3acd79a346a183c4 (diff)
media: v4l2-fwnode: ignore endpoints that have no remote port parent
Documentation/devicetree/bindings/media/video-interfaces.txt states that the 'remote-endpoint' property is optional. So v4l2_async_notifier_fwnode_parse_endpoint() should not return error if the endpoint has no remote port parent. Just ignore the endpoint, skip adding an asd to the notifier and return 0. __v4l2_async_notifier_parse_fwnode_endpoints() will then continue parsing the remaining port endpoints of the device. Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'fs/debugfs/internal.h')
0 files changed, 0 insertions, 0 deletions