netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fugang Duan <b38611@freescale.com>
To: <shawn.guo@linaro.org>, <davem@davemloft.net>,
	<richardcochran@gmail.com>
Cc: <netdev@vger.kernel.org>, <b38611@freescale.com>
Subject: [PATCH v2 0/1] net: fec: ptp: avoid register access when ipg clock is disabled
Date: Wed, 13 Aug 2014 12:55:04 +0800	[thread overview]
Message-ID: <1407905705-27984-1-git-send-email-b38611@freescale.com> (raw)

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      |    2 +-
 drivers/net/ethernet/freescale/fec_main.c |   12 +++++++++++-
 drivers/net/ethernet/freescale/fec_ptp.c  |   15 +++++++--------
 3 files changed, 19 insertions(+), 10 deletions(-)

-- 
1.7.8

             reply	other threads:[~2014-08-13  5:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-13  4:55 Fugang Duan [this message]
2014-08-13  4:55 ` [PATCH v2 1/1] net: fec: ptp: avoid register access when ipg clock is disabled Fugang Duan
2014-08-13 21:19   ` Richard Cochran
2014-08-14  1:28     ` fugang.duan
2014-08-14  8:10       ` Richard Cochran
2014-08-14  8:24         ` fugang.duan
2014-08-14  8:42           ` Richard Cochran
2014-08-14  9:02             ` fugang.duan
2014-08-14  9:12               ` Richard Cochran
2014-08-14  9:26                 ` fugang.duan
2014-08-14 14:33                   ` Richard Cochran
2014-08-15  3:23                     ` fugang.duan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1407905705-27984-1-git-send-email-b38611@freescale.com \
    --to=b38611@freescale.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=richardcochran@gmail.com \
    --cc=shawn.guo@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).