summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2012-11-01 12:30:16 +0000
committerBen Hutchings <ben@decadent.org.uk>2012-12-06 11:20:18 +0000
commitdeb4856fc4353f1510dff0628d9c98f84709733d (patch)
tree29bbf34dd378cc3c44f7a6298a2112e0c129aeee /include
parent23da2a1f5e79c95dbae9c88848b57e39af80b326 (diff)
ptp: update adjfreq callback description
commit 87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99 upstream. 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: 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> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
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 dd2e44fba63e..9d709d18c3b1 100644
--- 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.
+ * 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.