summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amd
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2022-10-28 04:04:19 -0700
committerDavid S. Miller <davem@davemloft.net>2022-10-31 11:14:16 +0000
commit673dd2c78817f62a9e8c79fdcb0920815b4c95c8 (patch)
tree7be960c3f84d8813d0a0f8903fe6aeec4a69d0d8 /drivers/net/ethernet/amd
parent8bc900cbffa7725e8bbba21a99f6261e6bd61ef4 (diff)
downloadlwn-673dd2c78817f62a9e8c79fdcb0920815b4c95c8.tar.gz
lwn-673dd2c78817f62a9e8c79fdcb0920815b4c95c8.zip
ptp: ravb: convert to .adjfine and adjust_by_scaled_ppm
The ravb implementation of .adjfreq is implemented in terms of a straight forward "base * ppb / 1 billion" calculation. Convert this driver to .adjfine and use the adjust_by_scaled_ppm helper function to calculate the new addend. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Cc: Sergey Shtylyov <s.shtylyov@omp.ru> Cc: Biju Das <biju.das.jz@bp.renesas.com> Cc: Phil Edworthy <phil.edworthy@renesas.com> Cc: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Cc: linux-renesas-soc@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd')
0 files changed, 0 insertions, 0 deletions