]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc8915b699d0abb074d579f36b5e8f32fe8befdf3
tree32b9883747645a3107d49b4a98cf3c46e6523fac
parent8515af74d36d0fd2ba27ed4cc10ea472973ba0e5
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