aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/microchip/lan743x_ptp.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2022-10-28 04:04:15 -0700
committerDavid S. Miller <davem@davemloft.net>2022-10-31 11:14:16 +0000
commit6ed795965ede203d762f59b791e3490eb6f74b13 (patch)
tree88f2ad52e0ee8925c072f3d1534a441c846fa25a /drivers/net/ethernet/microchip/lan743x_ptp.c
parentdrivers: convert unsupported .adjfreq to .adjfine (diff)
downloadwireguard-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