RE: [EXTERNAL] [PATCH net] net: micrel: Fix lan8841_config_intr after getting out of sleep mode

From: Suman Ghosh
Date: Thu May 23 2024 - 12:36:37 EST


> if (phydev->interrupts == PHY_INTERRUPT_ENABLED) {
> err = phy_read(phydev, LAN8814_INTS);
>- if (err)
>+ if (err < 0)
[Suman] Hi Horatiu,
Should we modify this check for phy_write() as well?
> return err;
>
> /* Enable / disable interrupts. It is OK to enable PTP
>interrupt
>--
>2.34.1
>