]> asedeno.scripts.mit.edu Git - linux.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)
commite497c20e203680aba9ccf7bb475959595908ca7e
tree19742a5911f8c26c5718c88e24db8b514f59c62c
parent3de5ae54712c75cf3c517a288e0a704784ec6cf5
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: f573c0b9c4e0 ("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