Unverified Commit 862d7e54 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

Merge tag 'arm-soc/for-5.17/drivers' of https://github.com/Broadcom/stblinux into arm/dt

This pull request contains Broadcom SoCs drivers changes for v5.17,
please pull the following changes:

- Wan adds a missing of_node_put() in the power management driver for
MIPS SoCs.

* tag 'arm-soc/for-5.17/drivers' of https://github.com/Broadcom/stblinux

:
  soc: bcm: brcmstb: Add of_node_put() in pm-mips

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents e9aff544 f5029f62
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -405,11 +405,14 @@ static int brcmstb_pm_init(void)
		i = ctrl.num_memc;
		if (i >= MAX_NUM_MEMC) {
			pr_warn("Too many MEMCs (max %d)\n", MAX_NUM_MEMC);
			of_node_put(dn);
			break;
		}
		base = brcmstb_ioremap_node(dn, 0);
		if (IS_ERR(base))
		if (IS_ERR(base)) {
			of_node_put(dn);
			goto ddr_err;
		}

		ctrl.memcs[i].ddr_phy_base = base;
		ctrl.num_memc++;