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)
commitb5d7a06906a4875524f5c61c0b312828bf6737de
tree12f6a090b3a79b229f5cafadc2be96a35ae135e8
parentfa0dc04df259ba2df3ce1920e9690c7842f8fa4b
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 e9849777d0e2 ("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