diff options
author | Rob Herring <robh@kernel.org> | 2015-03-25 06:41:08 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-03-25 06:41:08 +0100 |
commit | 8147e2e8f13d823307e1edf2add5a8df84180cca (patch) | |
tree | 476eae8727d98c56027ca1036a8f61ff261c9c51 /sound | |
parent | Linux 4.0-rc5 (diff) | |
parent | of: Add of_graph_get_port_by_id function (diff) | |
download | linux-8147e2e8f13d823307e1edf2add5a8df84180cca.tar.xz linux-8147e2e8f13d823307e1edf2add5a8df84180cca.zip |
Merge tag 'of-graph-for-4.0' of git://git.pengutronix.de/git/pza/linux into for-next
Pull of-graph helpers from Philipp Zabel:
of: Add of-graph helpers to loop over endpoints and find ports by id
This series converts of_graph_get_next_endpoint to decrement the refcount of
the passed prev parameter. This allows to add a for_each_endpoint_of_node
helper macro to loop over all endpoints in a device tree node.
The of_graph_get_port_by_id function is added to retrieve a port by its known
port id (contained in the reg property) from the device tree.
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions