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

From: Herton Ronaldo Krzesinski
Date: Fri Nov 23 2012 - 19:26:51 EST


On Wed, Nov 21, 2012 at 04:39:17PM -0800, Greg Kroah-Hartman wrote:
> 3.4-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Jacob Keller <jacob.e.keller@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> CC: Richard Cochran <richard.cochran@xxxxxxxxx>
> CC: John Stultz <john.stultz@xxxxxxxxxx>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> ---
> 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.
> + * 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.
>

This was marked for only 3.5 or later on the original changelog:
"CC: stable@xxxxxxxxxxxxxxx [v3.5+]"

--
[]'s
Herton
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/