diff options
author | Arun Parameswaran <arun.parameswaran@broadcom.com> | 2020-02-14 13:47:46 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-16 19:19:18 -0800 |
commit | 6f08e98d62799e53c89dbf2c9a49d77e20ca648c (patch) | |
tree | 5e5cfa2a908a4b611ac84760e7d55c8df02e01a0 /net | |
parent | e08ad80551b4b33c02f2fce1522f6c227d3976cf (diff) | |
download | linux-6f08e98d62799e53c89dbf2c9a49d77e20ca648c.tar.bz2 |
net: phy: restore mdio regs in the iproc mdio driver
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@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions