|
|
@@ -210,6 +210,7 @@ static int phy_meson_gxl_usb2_probe(struct platform_device *pdev)
|
|
|
struct phy_meson_gxl_usb2_priv *priv;
|
|
|
struct phy *phy;
|
|
|
void __iomem *base;
|
|
|
+ int ret;
|
|
|
|
|
|
priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
|
|
|
if (!priv)
|
|
|
@@ -242,8 +243,11 @@ static int phy_meson_gxl_usb2_probe(struct platform_device *pdev)
|
|
|
|
|
|
phy = devm_phy_create(dev, NULL, &phy_meson_gxl_usb2_ops);
|
|
|
if (IS_ERR(phy)) {
|
|
|
- dev_err(dev, "failed to create PHY\n");
|
|
|
- return PTR_ERR(phy);
|
|
|
+ ret = PTR_ERR(phy);
|
|
|
+ if (ret != -EPROBE_DEFER)
|
|
|
+ dev_err(dev, "failed to create PHY\n");
|
|
|
+
|
|
|
+ return ret;
|
|
|
}
|
|
|
|
|
|
phy_set_drvdata(phy, priv);
|