Re: [PATCH v2] ata: libahci_platform: fix IRQ check

From
Jens Axboe <axboe@kernel.dk>
Date
2021-03-31 02:25:30
Reply to
Sergey Shtylyov, 2021-03-15
On 3/15/21 2:15 PM, Sergey Shtylyov wrote:
Iff platform_get_irq() returns 0, ahci_platform_init_host() would return 0
early (as if the call was successful). Override IRQ0 with -EINVAL instead
as the 'libata' regards 0 as "no IRQ" (thus polling) anyway...
Applied, thanks.

-- 
Jens Axboe
Thread (2 messages) 2 messages, 2 authors, last reply 2021-03-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help