diff options
| author | Steve Longerbeam <[email protected]> | 2018-09-29 19:54:04 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-10-04 18:53:20 +0000 |
| commit | 4382f37b78e02bb9a9d68cf0aef7928f0aaeff73 (patch) | |
| tree | a161513617ccd6acbe35bb47e37f384fc8e03095 /drivers/media/v4l2-core/v4l2-async.c | |
| parent | media: i2c: adv748x: fix typo in comment for TXB CSI-2 transmitter power down (diff) | |
| download | kernel-4382f37b78e02bb9a9d68cf0aef7928f0aaeff73.tar.gz kernel-4382f37b78e02bb9a9d68cf0aef7928f0aaeff73.zip | |
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 <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-async.c')
0 files changed, 0 insertions, 0 deletions
