Thread (175 messages) 175 messages, 3 authors, 2012-11-26

RE: [ 011/171] ptp: update adjfreq callback description

From: "Keller, Jacob E" <jacob.e.keller@intel.com>
Date: 2012-11-26 21:17:15
Also in: lkml

-----Original Message-----
From: Herton Ronaldo Krzesinski [mailto:herton.krzesinski@canonical.com]
Sent: Friday, November 23, 2012 4:27 PM
To: Greg Kroah-Hartman
Cc: linux-kernel@vger.kernel.org; stable@vger.kernel.org;
alan@lxorguk.ukuu.org.uk; Keller, Jacob E; Richard Cochran; John Stultz;
Kirsher, Jeffrey T; David S. Miller
Subject: Re: [ 011/171] ptp: update adjfreq callback description

On Wed, Nov 21, 2012 at 04:39:17PM -0800, Greg Kroah-Hartman wrote:
quoted
3.4-stable review patch.  If anyone has any objections, please let me
know.
quoted
------------------

From: Jacob Keller <jacob.e.keller@intel.com>

commit 87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99 upstream.

This patch updates the adjfreq callback description to include a note
that the
quoted
delta in ppb is always relative to the base frequency, and not to the
current
quoted
frequency of the hardware clock.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
CC: Richard Cochran <redacted>
CC: John Stultz <redacted>
Signed-off-by: Jeff Kirsher <redacted>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 include/linux/ptp_clock_kernel.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--- a/include/linux/ptp_clock_kernel.h
+++ b/include/linux/ptp_clock_kernel.h
@@ -50,7 +50,8 @@ struct ptp_clock_request {
  * clock operations
  *
  * @adjfreq:  Adjusts the frequency of the hardware clock.
- *            parameter delta: Desired period change in parts per
billion.
quoted
+ *            parameter delta: Desired frequency offset from nominal
frequency
quoted
+ *            in parts per billion
  *
  * @adjtime:  Shifts the time of the hardware clock.
  *            parameter delta: Desired change in nanoseconds.
This was marked for only 3.5 or later on the original changelog:
"CC: stable@vger.kernel.org [v3.5+]"

--
[]'s
Herton
Originally didn't notice how far back PTP went.

-Jake
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help