android_kernel_samsung_a7y1.../drivers/net/phy
Arun Parameswaran f0243a7081 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>
2020-04-07 14:04:30 +02:00
..
amd.c
aquantia.c
at803x.c
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
bcm7xxx.c
bcm63xx.c
bcm87xx.c
broadcom.c
cicada.c
davicom.c
dp83640_reg.h
dp83640.c
dp83848.c
dp83867.c
et1011c.c
fixed_phy.c
icplus.c
Kconfig
lxt.c
Makefile
marvell.c
mdio_bus.c
mdio-bcm-iproc.c net: phy: restore mdio regs in the iproc mdio driver 2020-04-07 14:04:30 +02:00
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-gpio.c
mdio-moxart.c
mdio-mux-gpio.c
mdio-mux-mmioreg.c
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c
micrel.c
microchip.c
national.c
phy_device.c
phy.c
qsemi.c
realtek.c
smsc.c
spi_ks8995.c
ste10Xp.c
teranetics.c
vitesse.c