Skip to content
Commit 44e8c93e authored by Trevor Woerner's avatar Trevor Woerner Committed by Greg Kroah-Hartman
Browse files

net: nxp: lpc_eth.c: avoid hang when bringing interface down

commit ace19b99 upstream.

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: b7370112

 ("lpc32xx: Added ethernet driver")
Signed-off-by: default avatarTrevor Woerner <twoerner@gmail.com>
Acked-by: default avatarVladimir Zapolskiy <vz@mleia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c2af2092
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment