linux-stable/drivers/pinctrl
ZhangPeng 7fb8cc3eb6 pinctrl: pinconf-generic: add missing of_node_put()
[ Upstream commit 5ead932898 ]

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: c7289500e2 ("pinctrl: pinconf-generic: scan also referenced phandle node")
Signed-off-by: ZhangPeng <zhangpeng362@huawei.com>
Link: https://lore.kernel.org/r/20221125070156.3535855-1-zhangpeng362@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-07 12:07:18 +01:00
..
aspeed pinctrl: aspeed: Fix GPI only function problem. 2020-11-18 18:26:27 +01:00
bcm
berlin
freescale
intel pinctrl: baytrail: Avoid clearing debounce value when turning it off 2020-12-29 13:44:50 +01:00
mediatek pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init 2022-04-20 09:06:37 +02:00
meson
mvebu
nomadik pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map 2022-08-25 11:09:29 +02:00
pxa
qcom pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed 2022-08-25 11:09:29 +02:00
samsung
sh-pfc
sirf
spear
stm32
sunxi pinctrl: sunxi: a83t: Fix NAND function name for some pins 2022-07-12 16:26:25 +02:00
tegra
uniphier
vt8500
Kconfig
Makefile
core.c
core.h
devicetree.c pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map 2022-11-25 17:35:39 +01:00
devicetree.h
pinconf-generic.c pinctrl: pinconf-generic: add missing of_node_put() 2023-01-07 12:07:18 +01:00
pinconf.c
pinconf.h
pinctrl-adi2-bf54x.c
pinctrl-adi2-bf60x.c
pinctrl-adi2.c
pinctrl-adi2.h
pinctrl-amd.c pinctrl/amd: Add device HID for new AMD GPIO controller 2021-07-20 16:21:09 +02:00
pinctrl-amd.h
pinctrl-as3722.c
pinctrl-at91-pio4.c
pinctrl-at91.c
pinctrl-at91.h
pinctrl-coh901.c
pinctrl-coh901.h
pinctrl-digicolor.c
pinctrl-falcon.c pinctrl: falcon: add missing put_device() call in pinctrl_falcon_probe() 2020-12-29 13:44:58 +01:00
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-lpc18xx.c
pinctrl-max77620.c
pinctrl-oxnas.c
pinctrl-palmas.c
pinctrl-pic32.c
pinctrl-pic32.h
pinctrl-pistachio.c pinctrl: pistachio: fix use of irq_of_parse_and_map() 2022-05-12 12:14:55 +02:00
pinctrl-rockchip.c pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe 2022-04-20 09:06:37 +02:00
pinctrl-single.c pinctrl: single: Fix potential division by zero 2022-12-08 11:15:41 +01:00
pinctrl-st.c
pinctrl-tb10x.c
pinctrl-tz1090-pdc.c
pinctrl-tz1090.c
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c
pinctrl-zynq.c
pinmux.c
pinmux.h