Commit af937d95 authored by Thomas Betker's avatar Thomas Betker Committed by Michal Simek
Browse files

net: emacps: Fix gmii2rgmii_phy_dev disconnect



In xemacps_mii_probe(), when connecting lp->phy_node fails, clean up
and disconnect lp->gmii2rgmii_phy_dev [which may be already connected].

In xemacps_close(), check lp->gmii2rgmii_phy_dev before disconnecting
it, not lp->gmii2rgmii_phy_node.

Signed-off-by: default avatarThomas Betker <thomas.betker@rohde-schwarz.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 8e517bbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment