[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9793b888-8808-de39-83f1-4c726456aa2c@gmx.de>
Date: Sat, 21 Jan 2017 03:14:23 +0100
From: Lino Sanfilippo <LinoSanfilippo@....de>
To: Timur Tabi <timur@...eaurora.org>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH] net: qcom/emac: claim the irq only when the device is
opened
On 20.01.2017 22:36, Timur Tabi wrote:
> On 01/20/2017 03:31 PM, Lino Sanfilippo wrote:
>>
>> 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
Powered by blists - more mailing lists