Commit 2a8388f4 authored by Robin Murphy's avatar Robin Murphy Committed by Yang Yingliang
Browse files

perf/arm_pmu_platform: Fix error handling



stable inclusion
from linux-4.19.191
commit 213a9a13f0735212410312f61902a40ff065c477

--------------------------------

[ Upstream commit e338cb6b ]

If we're aborting after failing to register the PMU device,
we probably don't want to leak the IRQs that we've claimed.

Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/53031a607fc8412a60024bfb3bb8cd7141f998f5.1616774562.git.robin.murphy@arm.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent d7b48b8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment