Re: [v2, PATCH] net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow

2019-10-16 Thread David Miller
From: Biao Huang Date: Tue, 15 Oct 2019 11:24:44 +0800 > 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 Applied and queued up for -stab

[v2, PATCH] net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow

2019-10-14 Thread Biao Huang
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 --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 12 1 file changed, 8 inserti

Re: [PATCH] net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow

2019-10-11 Thread biao huang
Appreciate your comments! On Thu, 2019-10-10 at 16:01 -0700, Jakub Kicinski wrote: > On Wed, 9 Oct 2019 16:56:49 +0800, Biao Huang wrote: > > disable ptp_ref_clk in suspend flow, and enable it in resume flow. > > > > Signed-off-by: Biao Huang > > --- > > drivers/net/ethernet/stmicro/stmmac/stmm

Re: [PATCH] net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow

2019-10-10 Thread Jakub Kicinski
On Wed, 9 Oct 2019 16:56:49 +0800, Biao Huang wrote: > disable ptp_ref_clk in suspend flow, and enable it in resume flow. > > Signed-off-by: Biao Huang > --- > drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/net/ethernet/stm

[PATCH] net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow

2019-10-09 Thread Biao Huang
disable ptp_ref_clk in suspend flow, and enable it in resume flow. Signed-off-by: Biao Huang --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmm