Name

phy_clear_interrupt — Ack the phy device's interrupt

Synopsis

int phy_clear_interrupt (struct phy_device * phydev);
 

Arguments

struct phy_device * phydev

the phy_device struct

Description

If the phydev driver has an ack_interrupt function, call it to ack and clear the phy device's interrupt.

Returns 0 on success or < 0 on error.