stmmac: prevent interrupt loop with MMC RX IPC Counter
authorChristian Ruppert <christian.ruppert@abilis.com>
Tue, 9 Apr 2013 21:56:04 +0000 (21:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2013 20:03:22 +0000 (16:03 -0400)
commit7078b984223e0e0e17ecbf32bd05ef1a927c2788
tree32b9883747645a3107d49b4a98cf3c46e6523fac
parentb6a5a7b9a528a8b4c8bec940b607c5dd9102b8cc
stmmac: prevent interrupt loop with MMC RX IPC Counter

If the DesignWare MAC is synthesised with MMC RX IPC Counter, an unmanaged
and unacknowledged interrupt is generated after some time of operation.

This patch masks the undesired interrupts.

Signed-off-by: Christian Ruppert <christian.ruppert@abilis.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/mmc_core.c