Re: [PATCH v2] net: phy: restore mdio regs in the iproc mdio driver

From: Andrew Lunn
Date: Fri Feb 14 2020 - 16:50:48 EST


On Fri, Feb 14, 2020 at 01:47:46PM -0800, Scott Branden wrote:
> From: Arun Parameswaran <arun.parameswaran@xxxxxxxxxxxx>
>
> The mii management register in iproc mdio block
> does not have a retention register so it is lost on suspend.
> Save and restore value of register while resuming from suspend.

You actually just reconfigure, you don't save it. But that is minor.

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew