Searched hist:"0 b146ca8d467c1dc6ad50628089d183608a47e40" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | diff 0b146ca8d467c1dc6ad50628089d183608a47e40 Tue Jul 08 01:22:59 CEST 2014 Russell King <rmk+kernel@arm.linux.org.uk> net: fec: ensure that a disconnected phy isn't configured
When we disconnect from a phy, we should forget our pointer to it so we don't accidentally try to configure it. We handle a NULL phy pointer correctly in most places, except fec_enet_set_pauseparam(). Fix this too.
Acked-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
|