Skip to content
Commit 5ead9328 authored by ZhangPeng's avatar ZhangPeng Committed by Linus Walleij
Browse files

pinctrl: pinconf-generic: add missing of_node_put()



of_node_put() needs to be called when jumping out of the loop, since
for_each_available_child_of_node() will increase the refcount of node.

Fixes: c7289500 ("pinctrl: pinconf-generic: scan also referenced phandle node")
Signed-off-by: default avatarZhangPeng <zhangpeng362@huawei.com>
Link: https://lore.kernel.org/r/20221125070156.3535855-1-zhangpeng362@huawei.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent a8acc116
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment