aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-06-14 12:20:30 +0200
committerArnd Bergmann <arnd@arndb.de>2022-06-14 12:20:31 +0200
commit11bb764fbf51bc8c859484104553f3d627db8b1e (patch)
treeb650bbdb386dbff731318cc602e6f0c50e04e8ff /drivers/soc
parentMerge tag 's32g2-fixes-5.19' of https://github.com/chesterlintw/linux-s32g into arm/fixes (diff)
parentsoc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe (diff)
downloadlinux-dev-11bb764fbf51bc8c859484104553f3d627db8b1e.tar.xz
linux-dev-11bb764fbf51bc8c859484104553f3d627db8b1e.zip
Merge tag 'arm-soc/for-5.19/drivers-fixes' of https://github.com/Broadcom/stblinux into arm/fixes
This pull request contains Broadcom ARM-based SoCs driver fixes for 5.19, please pull the following: - Miaoqian fixes a device tree node reference count in the system sleep code for Broadcom STB chips * tag 'arm-soc/for-5.19/drivers-fixes' of https://github.com/Broadcom/stblinux: soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe Link: https://lore.kernel.org/r/20220608093132.1465703-1-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/bcm/brcmstb/pm/pm-arm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/bcm/brcmstb/pm/pm-arm.c b/drivers/soc/bcm/brcmstb/pm/pm-arm.c
index 3cbb165d6e30..70ad0f3dce28 100644
--- a/drivers/soc/bcm/brcmstb/pm/pm-arm.c
+++ b/drivers/soc/bcm/brcmstb/pm/pm-arm.c
@@ -783,6 +783,7 @@ static int brcmstb_pm_probe(struct platform_device *pdev)
}
ret = brcmstb_init_sram(dn);
+ of_node_put(dn);
if (ret) {
pr_err("error setting up SRAM for PM\n");
return ret;