netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/1] net: fec: ptp: avoid register access when ipg clock is disabled
@ 2014-08-15  5:52 Fugang Duan
  2014-08-15  5:52 ` [PATCH v3 1/1] " Fugang Duan
  0 siblings, 1 reply; 7+ messages in thread
From: Fugang Duan @ 2014-08-15  5:52 UTC (permalink / raw)
  To: richardcochran, davem; +Cc: netdev, shawn.guo, b38611

V3:
* Suggest from Richard Cochran, time_keep work is COMPLETELY INDEPENDENT from time stamping,
  let it always run. In .fec_ptp_gettime() function will return an error when ptp physical
  clock is disabled.

V2:
* As Richard Cochran's suggestion, use schedule_delayed_work instead of period timer.
* Stop delayed work before ipg clock disable like suspend, ethx close.

Fugang Duan (1):
  net: fec: ptp: avoid register access when ipg clock is disabled

 drivers/net/ethernet/freescale/fec.h      |    3 ++-
 drivers/net/ethernet/freescale/fec_main.c |    8 ++++++--
 drivers/net/ethernet/freescale/fec_ptp.c  |   27 ++++++++++++++++-----------
 3 files changed, 24 insertions(+), 14 deletions(-)

-- 
1.7.8

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-08-19  1:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15  5:52 [PATCH v3 0/1] net: fec: ptp: avoid register access when ipg clock is disabled Fugang Duan
2014-08-15  5:52 ` [PATCH v3 1/1] " Fugang Duan
2014-08-15 18:08   ` Richard Cochran
2014-08-18  5:26     ` fugang.duan
2014-08-18  6:07     ` fugang.duan
2014-08-18 19:42       ` Richard Cochran
2014-08-19  1:50         ` fugang.duan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).