tmp_suning_uos_patched/drivers/pinctrl
Krzysztof Kozlowski be22ebe79e pinctrl: samsung: drop pin banks references on error paths
commit 50ebd19e3585b9792e994cfa8cbee8947fe06371 upstream.

The driver iterates over its devicetree children with
for_each_child_of_node() and stores for later found node pointer.  This
has to be put in error paths to avoid leak during re-probing.

Fixes: ab663789d6 ("pinctrl: samsung: Match pin banks with their device nodes")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Chanho Park <chanho61.park@samsung.com>
Link: https://lore.kernel.org/r/20220111201426.326777-2-krzysztof.kozlowski@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 14:39:51 +02:00
..
actions pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
aspeed
bcm pinctrl: bcm2835: Fix a few error paths 2022-02-08 18:30:39 +01:00
berlin
cirrus
freescale pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
intel pinctrl: intel: fix unexpected interrupt 2022-02-08 18:30:39 +01:00
mediatek pinctrl: mediatek: fix global-out-of-bounds issue 2021-12-29 12:26:07 +01:00
meson
mvebu pinctrl: armada-37xx: Correct PWM pins definitions 2021-09-18 13:40:11 +02:00
nomadik
nuvoton
pxa
qcom pinctrl: qcom: sdm845: Enable dual edge errata 2021-11-26 10:39:18 +01:00
renesas pinctrl: renesas: checker: Fix off-by-one bug in drive register check 2021-11-18 14:04:18 +01:00
samsung pinctrl: samsung: drop pin banks references on error paths 2022-04-08 14:39:51 +02:00
sirf
spear
sprd
stm32 pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines 2021-12-29 12:26:03 +01:00
sunxi pinctrl: sunxi: Use unique lockdep classes for IRQs 2022-03-08 19:09:36 +01:00
tegra
ti
uniphier
visconti
vt8500
zte
core.c pinctrl: core: fix possible memory leak in pinctrl_enable() 2021-11-18 14:03:51 +01:00
core.h
devicetree.c
devicetree.h
Kconfig
Makefile
pinconf-generic.c
pinconf.c
pinconf.h
pinctrl-amd.c pinctrl: amd: disable and mask interrupts on probe 2021-11-02 19:48:19 +01:00
pinctrl-amd.h
pinctrl-artpec6.c
pinctrl-as3722.c
pinctrl-at91-pio4.c
pinctrl-at91.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pinctrl-at91.h
pinctrl-axp209.c
pinctrl-bm1880.c
pinctrl-coh901.c
pinctrl-coh901.h
pinctrl-da850-pupd.c
pinctrl-da9062.c
pinctrl-digicolor.c
pinctrl-equilibrium.c pinctrl: equilibrium: Fix function addition in multiple groups 2021-11-18 14:04:20 +01:00
pinctrl-equilibrium.h
pinctrl-falcon.c
pinctrl-gemini.c
pinctrl-ingenic.c pinctrl: ingenic: Fix incorrect pull up/down info 2021-09-18 13:40:07 +02:00
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-lpc18xx.c
pinctrl-max77620.c
pinctrl-mcp23s08_i2c.c
pinctrl-mcp23s08_spi.c
pinctrl-mcp23s08.c pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq() 2021-07-19 09:45:02 +02:00
pinctrl-mcp23s08.h
pinctrl-ocelot.c
pinctrl-oxnas.c
pinctrl-palmas.c
pinctrl-pic32.c
pinctrl-pic32.h
pinctrl-pistachio.c
pinctrl-rk805.c
pinctrl-rockchip.c
pinctrl-single.c pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry() 2021-09-18 13:40:14 +02:00
pinctrl-st.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pinctrl-stmfx.c pinctrl: stmfx: Fix hazardous u8[] to unsigned long cast 2021-09-18 13:40:07 +02:00
pinctrl-sx150x.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pinctrl-tb10x.c
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c
pinctrl-zynq.c
pinmux.c
pinmux.h