diff options
Diffstat (limited to 'drivers/phy/phy-core.c')
-rw-r--r-- | drivers/phy/phy-core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c index b4964b067aec..8f6e8e28996d 100644 --- a/drivers/phy/phy-core.c +++ b/drivers/phy/phy-core.c | |||
@@ -410,6 +410,10 @@ static struct phy *_of_phy_get(struct device_node *np, int index) | |||
410 | if (ret) | 410 | if (ret) |
411 | return ERR_PTR(-ENODEV); | 411 | return ERR_PTR(-ENODEV); |
412 | 412 | ||
413 | /* This phy type handled by the usb-phy subsystem for now */ | ||
414 | if (of_device_is_compatible(args.np, "usb-nop-xceiv")) | ||
415 | return ERR_PTR(-ENODEV); | ||
416 | |||
413 | mutex_lock(&phy_provider_mutex); | 417 | mutex_lock(&phy_provider_mutex); |
414 | phy_provider = of_phy_provider_lookup(args.np); | 418 | phy_provider = of_phy_provider_lookup(args.np); |
415 | if (IS_ERR(phy_provider) || !try_module_get(phy_provider->owner)) { | 419 | if (IS_ERR(phy_provider) || !try_module_get(phy_provider->owner)) { |