[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1408418453-28012-1-git-send-email-b38611@freescale.com>
Date: Tue, 19 Aug 2014 11:20:52 +0800
From: Fugang Duan <b38611@...escale.com>
To: <richardcochran@...il.com>, <davem@...emloft.net>
CC: <netdev@...r.kernel.org>, <shawn.guo@...aro.org>,
<b38611@...escale.com>
Subject: [PATCH v4 0/1] net: fec: ptp: avoid register access when ipg clock is disabled
V4:
* Init the ptp_clk_on flag to false in .probe(), and add mutex to protect the ptp clock
status.
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 | 5 +++-
drivers/net/ethernet/freescale/fec_main.c | 18 ++++++++++++++--
drivers/net/ethernet/freescale/fec_ptp.c | 31 ++++++++++++++++++----------
3 files changed, 39 insertions(+), 15 deletions(-)
--
1.7.8
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists