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

From: Andrew Lunn
Date: Tue Jun 20 2017 - 17:41:51 EST


On Tue, Jun 20, 2017 at 12:48:11PM -0500, Zach Brown wrote:
> 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>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew