Re: [PATCH v2] net: phy: restore mdio regs in the iproc mdio driver
From: Florian Fainelli
Date: Fri Feb 14 2020 - 17:03:40 EST
On 2/14/20 1:47 PM, 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.
>
> 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>
Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian