summaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2021-10-24 13:50:02 -0400
committerDavid S. Miller <davem@davemloft.net>2021-10-25 15:40:27 +0100
commitace19b992436a257d9a793672e57abc28fe83e2e (patch)
tree544675dd7063b725614ae90d3ed6f6876c6c941c /net/core/dev.c
parentb4ab21f90320969e5360719467153fc2bbc9435c (diff)
downloadlinux-ace19b992436a257d9a793672e57abc28fe83e2e.tar.gz
linux-ace19b992436a257d9a793672e57abc28fe83e2e.tar.bz2
linux-ace19b992436a257d9a793672e57abc28fe83e2e.zip
net: nxp: lpc_eth.c: avoid hang when bringing interface down
A hard hang is observed whenever the ethernet interface is brought down. If the PHY is stopped before the LPC core block is reset, the SoC will hang. Comparing lpc_eth_close() and lpc_eth_open() I re-arranged the ordering of the functions calls in lpc_eth_close() to reset the hardware before stopping the PHY. Fixes: b7370112f519 ("lpc32xx: Added ethernet driver") Signed-off-by: Trevor Woerner <twoerner@gmail.com> Acked-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions