]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow
authorBiao Huang <biao.huang@mediatek.com>
Tue, 15 Oct 2019 03:24:44 +0000 (11:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Oct 2019 20:25:39 +0000 (13:25 -0700)
commit686eb7560d6fded7a2468b1829da072a1b2d08a9
tree19742a5911f8c26c5718c88e24db8b514f59c62c
parent4afbcd4212e2392c8f968a164dbf4151509c7a47
net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow

disable ptp_ref_clk in suspend flow, and enable it in resume flow.

Fixes: 6a1a90717743 ("stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure")
Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c