diff options
author | Sergey Shtylyov <s.shtylyov@omprussia.ru> | 2021-03-15 14:46:53 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-05-19 00:17:56 +0300 |
commit | 2d3a62fbae8e5badc2342388f65ab2191c209cc0 (patch) | |
tree | 374c91d41bee53adf29023a4a7c5cf8b74dcd838 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4a24efa16e7db02306fb5db84518bb0a7ada5a46 (diff) | |
download | linux-2d3a62fbae8e5badc2342388f65ab2191c209cc0.tar.xz |
pata_rb532_cf: fix deferred probing
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions