Re: [PATCH v2] net/phy: micrel: configure intterupts after autoneg workaround

From: David Miller
Date: Thu Jun 22 2017 - 11:07:22 EST


From: Zach Brown <zach.brown@xxxxxx>
Date: Tue, 20 Jun 2017 12:48:11 -0500

> The commit ("net/phy: micrel: Add workaround for bad autoneg") fixes an
> autoneg failure case by resetting the hardware. This turns off
> intterupts. Things will work themselves out if the phy polls, as it will
> figure out it's state during a poll. However if the phy uses only
> intterupts, the phy will stall, since interrupts are off. This patch
> fixes the issue by calling config_intr after resetting the phy.
>
> Fixes: d2fd719bcb0e ("net/phy: micrel: Add workaround for bad autoneg ")
> Signed-off-by: Zach Brown <zach.brown@xxxxxx>

Applied and queued up for -stable.