diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2022-10-28 04:04:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-31 11:14:16 +0000 |
commit | 6ed795965ede203d762f59b791e3490eb6f74b13 (patch) | |
tree | 88f2ad52e0ee8925c072f3d1534a441c846fa25a /drivers/net/ethernet/microchip/lan743x_ptp.c | |
parent | drivers: convert unsupported .adjfreq to .adjfine (diff) | |
download | wireguard-linux-6ed795965ede203d762f59b791e3490eb6f74b13.tar.xz wireguard-linux-6ed795965ede203d762f59b791e3490eb6f74b13.zip |
ptp: mlx4: convert to .adjfine and adjust_by_scaled_ppm
The mlx4 implementation of .adjfreq is implemented in terms of a
straight forward "base * ppb / 1 billion" calculation.
Convert this driver to .adjfine and use adjust_by_scaled_ppm to perform the
calculation.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Cc: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions