Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/perf: arm_pmu: Fix leak in error path
In case of a IRQ type mismatch in of_pmu_irq_cfg() the device node for interrupt affinity isn't freed. So fix this issue by calling of_node_put(). Signed-off-by: Stefan Wahren <[email protected]> Fixes: fa8ad78 ("arm: perf: factor arm_pmu core out to drivers") Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
- Loading branch information