Hi Sergey, On Sun, Mar 21, 2021 at 3:59 PM Sergey Shtylyov <s.shtylyov@xxxxxxxxxxxx> wrote: > > If platform_get_irq() returns IRQ0 (considered invalid according to Linus) How can platform_get_irq() return 0 on i.MX? This driver only runs on imx31 and imx51 and in both platforms the PATA IRQ is non-zero. IMHO the current code is correct as-is.