diff options
author | Robin Murphy <robin.murphy@arm.com> | 2021-03-26 17:02:40 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-03-30 12:41:50 +0200 |
commit | 11fa1dc8020a2a9e0c59998920092d4df3fb7308 (patch) | |
tree | 3c4aedb11288ab7437b54941fb75623a65a7b0bf /README | |
parent | docs: perf: Address some html build warnings (diff) | |
download | linux-11fa1dc8020a2a9e0c59998920092d4df3fb7308.tar.xz linux-11fa1dc8020a2a9e0c59998920092d4df3fb7308.zip |
perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors
By virtue of using platform_irq_get_optional() under the covers,
platform_irq_count() needs the target interrupt controller to be
available and may return -EPROBE_DEFER if it isn't. Let's use
dev_err_probe() to avoid a spurious error log (and help debug any
deferral issues) in that case.
Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/073d5e0d3ed1f040592cb47ca6fe3759f40cc7d1.1616774562.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions