diff options
author | Sergey Shtylyov <s.shtylyov@omprussia.ru> | 2021-03-14 23:34:27 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-05-18 15:17:46 -0600 |
commit | 4a24efa16e7db02306fb5db84518bb0a7ada5a46 (patch) | |
tree | fd54d66ae21e404e024dda2f7bfb696e4fa80569 /LICENSES | |
parent | 14fe1e858ca21cf3298b818cc27cb610dc7dac3e (diff) | |
download | linux-4a24efa16e7db02306fb5db84518bb0a7ada5a46.tar.bz2 |
sata_highbank: fix deferred probing
The driver overrides the error codes returned by platform_get_irq() to
-EINVAL, 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/105b456d-1199-f6e9-ceb7-ffc5ba551d1a@omprussia.ru
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions