Thread (8 messages) flat view 8 messages, 3 authors, 2017-01-21

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help