summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2012-11-01 12:30:16 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-03 15:27:07 -0400
commit87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99 (patch)
tree8dd58336991f514e7dcb00358e7e630f8718614e /include
parent0481776b7a70f09acf7d9d97c288c3a8403fbfe4 (diff)
downloadlinux-87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99.tar.gz
linux-87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99.tar.bz2
linux-87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99.zip
ptp: update adjfreq callback description
This patch updates the adjfreq callback description to include a note that the delta in ppb is always relative to the base frequency, and not to the current frequency of the hardware clock. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> CC: stable@vger.kernel.org [v3.5+] CC: Richard Cochran <richard.cochran@gmail.com> CC: John Stultz <john.stultz@linaro.org> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ptp_clock_kernel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ptp_clock_kernel.h b/include/linux/ptp_clock_kernel.h
index f2dc6d8fc680..38a993508327 100644
--- a/include/linux/ptp_clock_kernel.h
+++ b/include/linux/ptp_clock_kernel.h
@@ -54,7 +54,8 @@ struct ptp_clock_request {
* clock operations
*
* @adjfreq: Adjusts the frequency of the hardware clock.
- * parameter delta: Desired period change in parts per billion.
+ * parameter delta: Desired frequency offset from nominal frequency
+ * in parts per billion
*
* @adjtime: Shifts the time of the hardware clock.
* parameter delta: Desired change in nanoseconds.