diff options
author | Sergei Shtylyov | 2018-11-24 19:14:16 +0100 |
---|---|---|
committer | Jens Axboe | 2018-12-10 19:10:31 +0100 |
commit | 9f83cfdb1ace3ef268ecc6fda50058d2ec37d603 (patch) | |
tree | 90713fcc23a3b57407c01f986b3f8bda22922a4e /arch/x86/kernel/pci-swiotlb.c | |
parent | ata: palmld: Introduce state container (diff) | |
download | kernel-qcow2-linux-9f83cfdb1ace3ef268ecc6fda50058d2ec37d603.tar.gz kernel-qcow2-linux-9f83cfdb1ace3ef268ecc6fda50058d2ec37d603.tar.xz kernel-qcow2-linux-9f83cfdb1ace3ef268ecc6fda50058d2ec37d603.zip |
sata_rcar: 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")
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/x86/kernel/pci-swiotlb.c')
0 files changed, 0 insertions, 0 deletions