Thread (15 messages) 15 messages, 4 authors, 2021-09-20

Re: [PATCH 4/4] pata_imx: deny IRQ0

From: Sergey Shtylyov <hidden>
Date: 2021-09-18 20:52:41
Also in: linux-arm-kernel

Hello!

On 3/21/21 10:06 PM, Fabio Estevam wrote:

[...]

   Sorry for replying this late. If I don't reply to mails right away, I tend to forget about
the unreplied mails. I might have been busy with other stuff ATM too... :-)
quoted
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.
   Maybe this is impossible indeed -- iff someone doesn't change the kernel (or DT) on purpose
(the driver wouldn't work correctly in this case as libata would ignore the driver's IRQ
handler).
IMHO the current code is correct as-is.
   Not quite... I don't want to leave a bad example for the future driver authors. What should
I change in the patch description for the patch to become acceptable for you?

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