]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: mask mmc interrupts
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Fri, 18 Nov 2011 05:00:20 +0000 (05:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2011 20:31:15 +0000 (15:31 -0500)
commit5b0ae4b91a3e26634757f6ef2e4e4a9c09f95ddf
tree0f6542b09c2265401331fb78b39bffbb26274fc8
parentf0db792a48a65c2f323e735bb50bf0eae0a1dece
stmmac: mask mmc interrupts

We need to mask the MMC irq otherwise if we raise the mmc
interrupts that are not handled the driver loops in the
handler.
In fact, by default all mmc counters (only used for stats)
are managed in SW and registers are cleared on each READ.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c