Thread (2 messages) flat view 2 messages, 1 author, 2021-03-15

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

From: Sergey Shtylyov <hidden>
Date: 2021-03-15 20:10:33

On 3/15/21 10:47 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...

Signed-off-by: Sergey Shtylyov <redacted>
   Oops, forgot the "Fixes: tag, will repost! :-)

MBR, Sergey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help