From: Timur Tabi <timur@codeaurora.org>
To: Lino Sanfilippo <LinoSanfilippo@gmx.de>,
David Miller <davem@davemloft.net>,
netdev@vger.kernel.org
Subject: Re: [PATCH] net: qcom/emac: claim the irq only when the device is opened
Date: Fri, 20 Jan 2017 15:36:23 -0600 [thread overview]
Message-ID: <91ecc8ae-2ee4-5b08-ea04-b65890d3fa0e@codeaurora.org> (raw)
In-Reply-To: <4025bb82-bc41-abfd-1481-5e66abc25c65@gmx.de>
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()?
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
next prev parent reply other threads:[~2017-01-20 21:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-18 21:42 [PATCH] net: qcom/emac: claim the irq only when the device is opened Timur Tabi
2017-01-20 17:19 ` David Miller
2017-01-20 17:22 ` Timur Tabi
2017-01-20 20:44 ` Lino Sanfilippo
2017-01-20 21:05 ` Timur Tabi
2017-01-20 21:31 ` Lino Sanfilippo
2017-01-20 21:36 ` Timur Tabi [this message]
2017-01-21 2:14 ` Lino Sanfilippo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91ecc8ae-2ee4-5b08-ea04-b65890d3fa0e@codeaurora.org \
--to=timur@codeaurora.org \
--cc=LinoSanfilippo@gmx.de \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).