SysTutorials

Linux Manual Pages › Section 9

phy_clear_interrupt(9)

phy_clear_interrupt - Ack the phy device’s interrupt

Synopsis

int phy_clear_interrupt(struct phy_device *phydev);

Arguments

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.

Copyright