diff options
author | Sergey Shtylyov <[email protected]> | 2022-01-24 21:55:03 +0300 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-01-30 01:06:35 +0100 |
commit | dfd0dfb9a7cc04acf93435b440dd34c2ca7b4424 (patch) | |
tree | 36b365d0e6e09d9fc386c69f356ca496b1d49941 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 279eb8575fdaa92c314a54c0d583c65e26229107 (diff) |
EDAC/xgene: Fix deferred probing
The driver overrides error codes returned by platform_get_irq_optional()
to -EINVAL for some strange reason, so if it returns -EPROBE_DEFER, the
driver will fail the probe permanently instead of the deferred probing.
Switch to propagating the proper error codes to platform driver code
upwards.
[ bp: Massage commit message. ]
Fixes: 0d4429301c4a ("EDAC: Add APM X-Gene SoC EDAC driver")
Signed-off-by: Sergey Shtylyov <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions