diff options
author | Arun Parameswaran <arun.parameswaran@broadcom.com> | 2020-02-15 00:47:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-05 18:43:31 +0300 |
commit | bd53844bc91eada833ced3d438b16aa8d762e1b7 (patch) | |
tree | 69c07e02cb0a84603a1f53255f4af114d6557136 /include | |
parent | 248b7751391f43465b3eed5d002824f5d37c0599 (diff) | |
download | linux-bd53844bc91eada833ced3d438b16aa8d762e1b7.tar.xz |
net: phy: restore mdio regs in the iproc mdio driver
commit 6f08e98d62799e53c89dbf2c9a49d77e20ca648c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions