Skip to content
Commit 5c812126 authored by Sergey Shtylyov's avatar Sergey Shtylyov Committed by Jens Axboe
Browse files

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: 2fff2751 ("PATA host controller driver for ep93xx")
Signed-off-by: default avatarSergey Shtylyov <s.shtylyov@omprussia.ru>
Link: https://lore.kernel.org/r/509fda88-2e0d-2cc7-f411-695d7e94b136@omprussia.ru


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bfc1f378
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment