diff options
author | Sergey Shtylyov <s.shtylyov@omprussia.ru> | 2021-03-20 23:32:38 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-05-27 13:03:48 -0600 |
commit | 5c8121262484d99bffb598f39a0df445cecd8efb (patch) | |
tree | 108d3327c48fbbb45719cf910236fe5440019824 /drivers/net/ethernet/dlink | |
parent | bfc1f378c8953e68ccdbfe0a8c20748427488b80 (diff) | |
download | linux-5c8121262484d99bffb598f39a0df445cecd8efb.tar.gz linux-5c8121262484d99bffb598f39a0df445cecd8efb.tar.bz2 linux-5c8121262484d99bffb598f39a0df445cecd8efb.zip |
pata_ep93xx: fix deferred probing
The driver overrides the error codes returned by platform_get_irq() to
-ENXIO, so if it returns -EPROBE_DEFER, the driver would fail the probe
permanently instead of the deferred probing. Propagate the error code
upstream, as it should have been done from the start...
Fixes: 2fff27512600 ("PATA host controller driver for ep93xx")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Link: https://lore.kernel.org/r/509fda88-2e0d-2cc7-f411-695d7e94b136@omprussia.ru
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/net/ethernet/dlink')
0 files changed, 0 insertions, 0 deletions