From: Florian Fainelli Date: Tue, 11 Nov 2014 02:06:20 +0000 (-0800) Subject: net: bcmgenet: connect and disconnect from the PHY state machine X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~119^2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c96e731c93ff0c9f53442c11c68e50fd07929d27;p=pandora-kernel.git net: bcmgenet: connect and disconnect from the PHY state machine phy_disconnect() is the only way to guarantee that we are not going to schedule more work on the PHY state machine workqueue for that particular PHY device. This fixes an issue where a network interface was suspended prior to a system suspend/resume cycle and would then be resumed as part of mdio_bus_resume(), since the GENET interface clocks would have been disabled, this basically resulted in bus errors to appear since we are invoking the GENET driver adjust_link() callback. Fixes: b6e978e50444 ("net: bcmgenet: add suspend/resume callbacks") Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed