diff options
| author | Liang He <[email protected]> | 2022-07-07 01:56:20 +0000 |
|---|---|---|
| committer | Florian Fainelli <[email protected]> | 2022-08-29 17:30:22 +0000 |
| commit | 1085f5080647f0c9f357c270a537869191f7f2a1 (patch) | |
| tree | ef372b19257150ea14782fb1517af4a7e722de4a /drivers/usb/cdns3/cdns3-ti.c | |
| parent | Linux 6.0-rc1 (diff) | |
| download | kernel-1085f5080647f0c9f357c270a537869191f7f2a1.tar.gz kernel-1085f5080647f0c9f357c270a537869191f7f2a1.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Florian Fainelli <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
