Unverified Commit a2668c15 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

Merge tag 'zynq-soc-for-v5.20' of https://github.com/Xilinx/linux-xlnx into arm/soc

ARM: Zynq SoC changes for v5.20

- Fix refcount leak in zynq_get_revision()

* tag 'zynq-soc-for-v5.20' of https://github.com/Xilinx/linux-xlnx:
  cpufreq: zynq: Fix refcount leak in zynq_get_revision

Link: https://lore.kernel.org/r/e1d0a721-afa4-93a0-7119-0e4481a0624b@monstr.eu


Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 8fcdf102 d1ff2559
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@ static int __init zynq_get_revision(void)
	}

	zynq_devcfg_base = of_iomap(np, 0);
	of_node_put(np);
	if (!zynq_devcfg_base) {
		pr_err("%s: Unable to map I/O memory\n", __func__);
		return -1;