We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 047a00b commit d937eccCopy full SHA for d937ecc
drivers/net/phy/xilinx_gmii2rgmii.c
@@ -81,6 +81,11 @@ static int xgmiitorgmii_probe(struct mdio_device *mdiodev)
81
return -EPROBE_DEFER;
82
}
83
84
+ if (!priv->phy_dev->drv) {
85
+ dev_err(dev, "External PHY driver not probed\n");
86
+ return -EPROBE_DEFER;
87
+ }
88
+
89
priv->addr = mdiodev->addr;
90
priv->phy_drv = priv->phy_dev->drv;
91
memcpy(&priv->conv_phy_drv, priv->phy_dev->drv,
0 commit comments