Re: [PATCH] net: qcom/emac: claim the irq only when the device is opened

From
Lino Sanfilippo <LinoSanfilippo@gmx.de>
Date
2017-01-21 02:16:11
Reply to
Timur Tabi, 2017-01-20
On 20.01.2017 22:36, Timur Tabi wrote:
On 01/20/2017 03:31 PM, Lino Sanfilippo wrote:
quoted
In emac_mac_down() however we need synchronize_irq(), since it ensures
that the irq
handler is not running any more when it (synchronize_irq) returns.
So in general, if a driver disables a interrupt but does not free it, it should call synchronize_irq()?
Yes, thats right.

Regards,
Lino
Thread (8 messages) 8 messages, 3 authors, last reply 2017-01-21
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