Message ID | 4a68739f-673c-d760-6714-cc3b82e83da5@kaa.org.ua |
---|---|
State | Not Applicable |
Delegated to: | Stefano Babic |
Headers | show |
Series | FEC_MXC_SHARE_MDIO on i.MX6ULL | expand |
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 89e3076bfd..5dfc8cba37 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -914,12 +914,11 @@ struct phy_device *phy_find_by_mask(struct mii_dev *bus, uint phy_mask, phy_interface_t interface) { /* Reset the bus */ - if (bus->reset) { + if (bus->reset) bus->reset(bus); - /* Wait 15ms to make sure the PHY has come out of hard reset */ - mdelay(15); - } + /* Wait 15ms to make sure the PHY has come out of hard reset */ + mdelay(15); return get_phy_device_by_mask(bus, phy_mask, interface); }