linux/drivers/net/ethernet/stmicro/stmmac
Srinivas Kandagatla 623997fb90 net: stmmac: fix power management suspend-resume case
The driver PM resume assumes that the IP is still powered up and the
all the register contents are not disturbed when it comes out of low
power suspend case. This assumption is wrong, basically the driver
should not consider any state of registers after it comes out of low
power. However driver can keep the part of the IP powered up if its a
wake up source. But it can not assume the register state of the IP. Also
its possible that SOC glue layer can take the power off the IP if its
not wake-up source to reduce the power consumption.

This patch re initializes hardware by calling stmmac_hw_setup function in
resume case.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-16 15:23:43 -08:00
..
chain_mode.c stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
common.h drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
descs_com.h stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
descs.h stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
dwmac100_core.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
dwmac100_dma.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
dwmac100.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac1000_core.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
dwmac1000_dma.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
dwmac1000.h stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
dwmac_dma.h stmicro: Remove extern from function prototypes 2013-09-24 12:54:08 -07:00
dwmac_lib.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
enh_desc.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile stmmac: add the support for PTP hw clock driver 2013-03-26 12:53:37 -04:00
mmc_core.c stmmac: prevent interrupt loop with MMC RX IPC Counter 2013-04-11 16:03:22 -04:00
mmc.h stmicro: Remove extern from function prototypes 2013-09-24 12:54:08 -07:00
norm_desc.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
ring_mode.c net: stmmac: Fixed the condition of extend_desc for jumbo frame 2013-08-09 13:44:31 -07:00
stmmac_ethtool.c stmmac: add the support for PTP hw clock driver 2013-03-26 12:53:37 -04:00
stmmac_hwtstamp.c driver:stmmac: Adjust time stamp increase for 0.465 ns accurate only when Time stamp binary rollover is set. 2013-09-04 14:37:02 -04:00
stmmac_main.c net: stmmac: fix power management suspend-resume case 2014-01-16 15:23:43 -08:00
stmmac_mdio.c net: stmmac: make stmmac_mdio_reset non-static 2014-01-16 15:23:43 -08:00
stmmac_pci.c stmicro: make local variables static 2014-01-01 23:42:19 -05:00
stmmac_platform.c net: stmmac: support max-speed device tree property 2014-01-16 15:23:43 -08:00
stmmac_ptp.c stmmac: Fix incorrect spinlock release and PTP cap detection. 2013-12-29 22:37:00 -05:00
stmmac_ptp.h stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
stmmac.h net: stmmac: make stmmac_mdio_reset non-static 2014-01-16 15:23:43 -08:00