diff options
| author | Sergey Shtylyov <s.shtylyov@omprussia.ru> | 2021-03-15 14:46:53 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:22:33 +0200 |
| commit | 07f993a1fae100bcf49d2f02aa65f9558ea1f363 (patch) | |
| tree | 5f6e735dfcf26573fe7a62930c5957064d1e7542 /include/linux/byteorder | |
| parent | 7a64c920989b91b2b4c2529c01adbb0b9533d83c (diff) | |
pata_rb532_cf: fix deferred probing
[ Upstream commit 2d3a62fbae8e5badc2342388f65ab2191c209cc0 ]
The driver overrides the error codes returned by platform_get_irq() to
-ENOENT, so if it returns -EPROBE_DEFER, the driver would fail the probe
permanently instead of the deferred probing. Switch to propagating the
error code upstream, still checking/overriding IRQ0 as libata regards it
as "no IRQ" (thus polling) anyway...
Fixes: 9ec36cafe43b ("of/irq: do irq resolution in platform_get_irq")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Link: https://lore.kernel.org/r/771ced55-3efb-21f5-f21c-b99920aae611@omprussia.ru
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/byteorder')
0 files changed, 0 insertions, 0 deletions
