Tag: 82f68756e94c70767a5b4747dc084a1a81e61a00

of: resolver: Add missing of_node_get and of_node_put

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> In __of_find_node_by_full_name, add an of_node_get when detecting the desired element, to ensure that it ends up with a reference count that is one greater than on entering the function. Also in __of_find_node_by_full_name, add an of_node_put on breaking out of the for_each_child_of_node loop, to ensure that the reference count of the …

Continue reading