OpenCloudOS-Kernel/drivers/soc/bcm
Liang He 1085f50806 soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
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>
2022-08-29 10:30:22 -07:00
..
bcm63xx soc: bcm: Check for NULL return of devm_kzalloc() 2022-04-26 09:12:35 -07:00
brcmstb soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs 2022-08-29 10:30:22 -07: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 soc: bcm: bcm2835-power: Bypass power_on/off() calls 2022-07-04 11:59:55 +01:00
raspberrypi-power.c soc: bcm: raspberrypi-power: Release firmware handle on unbind 2021-03-22 17:59:51 +01:00