]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: xgene: fix extra IRQ issue
authorIyappan Subramanian <isubramanian@apm.com>
Fri, 22 Jan 2016 00:07:41 +0000 (16:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jan 2016 06:15:56 +0000 (22:15 -0800)
commitedaf9d364898775dd0f76fa6024bfde29e9201aa
tree12f6a090b3a79b229f5cafadc2be96a35ae135e8
parent1758728677bca1f4a89554f0116fe61a8fbc2aeb
drivers: net: xgene: fix extra IRQ issue

For interrupt controller that doesn't support irq_disable and hardware
with level interrupt, an extra interrupt may be pending. This patch fixes
the issue by setting IRQ_DISABLE_UNLAZY flag for the interrupt line,
as suggested by,

'commit 46fcf01342a5 ("genirq: Add flag to force mask in
       disable_irq[_nosync]()")'

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Tested-by: Toan Le <toanle@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.h