WSL2-Linux-Kernel/drivers/soc/bcm
Liang He 43245c77d9 soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
[ Upstream commit 1085f50806 ]

In brcmstb_pm_probe(), there are two kinds of leak bugs:

(1) we need to add of_node_put() when for_each__matching_node() breaks
(2) we need to add iounmap() for each iomap in fail path

Fixes: 0b741b8234 ("soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM)")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220707015620.306468-1-windhl@126.com
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-15 11:30:04 +02:00
..
bcm63xx soc: bcm: Check for NULL return of devm_kzalloc() 2022-06-09 10:23:08 +02:00
brcmstb soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs 2022-09-15 11:30:04 +02:00
Kconfig soc: bcm: add BCM63xx power domain driver 2020-08-17 09:14:04 -07:00
Makefile soc: bcm: add PM driver for Broadcom's PMB 2021-01-12 20:45:57 -08:00
bcm2835-power.c This pull request brings in a build fix for arm64 with bcm2835 2019-03-18 10:31:24 -07:00
raspberrypi-power.c soc: bcm: raspberrypi-power: Release firmware handle on unbind 2021-03-22 17:59:51 +01:00