Files
linux/drivers/edac
Sergey Shtylyov c646ca5f68 EDAC/xgene: Fix deferred probing
commit dfd0dfb9a7 upstream.

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: 0d4429301c ("EDAC: Add APM X-Gene SoC EDAC driver")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220124185503.6720-3-s.shtylyov@omp.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-16 12:35:40 +09:00
..
2011-04-19 00:23:22 +02:00
2014-02-25 10:01:30 +01:00
2015-12-11 16:56:43 +01:00
2023-05-15 16:19:29 +09:00
2011-04-19 00:23:22 +02:00
2009-04-02 19:05:03 -07:00
2023-05-16 12:35:40 +09:00