diff options
Diffstat (limited to 'drivers/net/phy/phy_device.c')
| -rw-r--r-- | drivers/net/phy/phy_device.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 509d9402fa9a..891e0178b97f 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -951,9 +951,8 @@ int phy_connect_direct(struct net_device *dev, struct phy_device *phydev,  		return rc;  	phy_prepare_link(phydev, handler); -	phy_start_machine(phydev); -	if (phydev->irq > 0) -		phy_start_interrupts(phydev); +	if (phy_interrupt_is_valid(phydev)) +		phy_request_interrupt(phydev);  	return 0;  } |