On Tue, May 03, 2022 at 03:15:07PM +0200, Lukas Wunner wrote: > If reading the Interrupt Source Flag register fails with -ENODEV, then > the PHY has been hot-removed and the correct response is to bail out > instead of throwing a WARN splat and attempting to suspend the PHY. > The PHY should be stopped in due course anyway as the kernel > asynchronously tears down the device. > > Tested-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> # LAN9514/9512/9500 > Tested-by: Ferry Toth <fntoth@xxxxxxxxx> # LAN9514 > Signed-off-by: Lukas Wunner <lukas@xxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew