From: Jacob Keller Date: Thu, 1 Nov 2012 12:30:16 +0000 (+0000) Subject: ptp: update adjfreq callback description X-Git-Tag: v3.2.35~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=deb4856fc4353f1510dff0628d9c98f84709733d;p=thirdparty%2Fkernel%2Fstable.git 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 CC: Richard Cochran CC: John Stultz Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- diff --git a/include/linux/ptp_clock_kernel.h b/include/linux/ptp_clock_kernel.h index dd2e44fba63e7..9d709d18c3b13 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.