summaryrefslogtreecommitdiff
path: root/drivers/soc/bcm/brcmstb/biuctrl.c
diff options
context:
space:
mode:
authorLiang He <windhl@126.com>2022-07-07 04:56:20 +0300
committerFlorian Fainelli <f.fainelli@gmail.com>2022-08-29 20:30:22 +0300
commit1085f5080647f0c9f357c270a537869191f7f2a1 (patch)
treeef372b19257150ea14782fb1517af4a7e722de4a /drivers/soc/bcm/brcmstb/biuctrl.c
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
downloadlinux-1085f5080647f0c9f357c270a537869191f7f2a1.tar.xz
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: 0b741b8234c8 ("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>
Diffstat (limited to 'drivers/soc/bcm/brcmstb/biuctrl.c')
0 files changed, 0 insertions, 0 deletions