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

From: David Miller
Date: Sun Feb 16 2020 - 22:19:53 EST


From: Scott Branden <scott.branden@xxxxxxxxxxxx>
Date: Fri, 14 Feb 2020 13:47:46 -0800

> 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.
>
> Fixes: bb1a619735b4 ("net: phy: Initialize mdio clock at probe function")
>
> Signed-off-by: Arun Parameswaran <arun.parameswaran@xxxxxxxxxxxx>
> Signed-off-by: Scott Branden <scott.branden@xxxxxxxxxxxx>

Applied and queued up for -stable.