]> git.baikalelectronics.ru Git - kernel.git/commit
net: mediatek: disable all interrupts during probe
authorJohn Crispin <john@phrozen.org>
Fri, 10 Jun 2016 11:28:03 +0000 (13:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:29:29 +0000 (23:29 -0700)
commit4e85970ae3873d070cb93029e07df4ec4a8e4731
treef74a11c471059a08f79e736db9f3403954c944bb
parenta4f86ee8323ae9653e453aad33c3eac3bcf963e2
net: mediatek: disable all interrupts during probe

The current code only disables those IRQs that we will later use. To
ensure that we have a predefined state, we really want to disable all IRQs.
Change the code to disable all IRQs to achieve this.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c