linux-stable/arch
Liang He c53d904973 ARM: shmobile: rcar-gen2: Increase refcount for new reference
[ Upstream commit 75a185fb92 ]

In rcar_gen2_regulator_quirk(), for_each_matching_node_and_match() will
automatically increase and decrease the refcount.  However, we should
call of_node_get() for the new reference created in 'quirk->np'.
Besides, we also should call of_node_put() before the 'quirk' being
freed.

Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220701121804.234223-1-windhl@126.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:23:04 +02:00
..
alpha tty: the rest, stop using tty_schedule_flip() 2022-07-29 17:25:32 +02:00
arc
arm ARM: shmobile: rcar-gen2: Increase refcount for new reference 2022-08-17 14:23:04 +02:00
arm64 arm64: dts: allwinner: a64: orangepi-win: Fix LED node name 2022-08-17 14:23:04 +02:00
csky
h8300
hexagon
ia64 ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr() 2022-08-17 14:22:57 +02:00
m68k
microblaze
mips MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK 2022-08-17 14:22:58 +02:00
nds32
nios2
openrisc
parisc parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode 2022-08-17 14:22:52 +02:00
powerpc powerpc/powernv: Avoid crashing if rng is NULL 2022-08-17 14:22:58 +02:00
riscv RISC-V: Add modules to virtual kernel memory layout dump 2022-08-17 14:22:52 +02:00
s390 KVM: s390: pv: don't present the ecall interrupt twice 2022-08-17 14:22:48 +02:00
sh
sparc
um um: seed rng using host OS rng 2022-08-17 14:22:55 +02:00
x86 arch: make TRACE_IRQFLAGS_NMI_SUPPORT generic 2022-08-17 14:23:00 +02:00
xtensa
.gitignore
Kconfig arch: make TRACE_IRQFLAGS_NMI_SUPPORT generic 2022-08-17 14:23:00 +02:00