]> git.baikalelectronics.ru Git - kernel.git/commit
net: lpc_eth: avoid resetting twice
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 10 Oct 2019 20:46:06 +0000 (22:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Oct 2019 18:15:25 +0000 (11:15 -0700)
commit22434dc9d410a6abf8895f94a181cca66178bcdf
tree0cb77e24b44db132311eb6e48b4239e02e80a9cf
parent620d110501c631739b9406798c3e3d0d7b6b1b85
net: lpc_eth: avoid resetting twice

__lpc_eth_shutdown is called after __lpc_eth_reset but it is already
calling __lpc_eth_reset. Avoid resetting the IP twice.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nxp/lpc_eth.c