]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: xgmac: Disable MMC interrupts by default
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 6 Nov 2019 15:03:02 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 05:22:55 +0000 (21:22 -0800)
commit94928de9deefed81c3c472b61a7a7ea6a5ccd893
treea01c13f84b878cdcc674660d5a5160e758d67740
parent076f5cc6032486eb297cb5466e51ddf56ea6f40b
net: stmmac: xgmac: Disable MMC interrupts by default

MMC interrupts were being enabled, which is not what we want because it
will lead to a storm of interrupts that are not handled at all. Fix it
by disabling all MMC interrupts for XGMAC.

Fixes: e64e2ed01bd2 ("net: stmmac: xgmac: Implement MMC counters")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/mmc_core.c