diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2022-01-24 21:55:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-08 20:34:13 +0300 |
commit | c6c04bb32b738ff169f6ce36b67014a960009ed1 (patch) | |
tree | 8d249130a8571ad89cc167344b8a531844c382e6 /fs/ext4/fast_commit.c | |
parent | 587dadb43c9aa272376c1fc31e1ec2510f51cb82 (diff) | |
download | linux-c6c04bb32b738ff169f6ce36b67014a960009ed1.tar.xz |
EDAC/altera: Fix deferred probing
commit 279eb8575fdaa92c314a54c0d583c65e26229107 upstream.
The driver overrides the error codes returned by platform_get_irq() to
-ENODEV 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: 71bcada88b0f ("edac: altera: Add Altera SDRAM EDAC support")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220124185503.6720-2-s.shtylyov@omp.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions