OpenCloudOS-Kernel/drivers/net/ethernet/xscale
Jacob Keller 319d77e9d0 ptp_ixp46x: convert .adjfreq to .adjfine
The ptp_ixp46x implementation of .adjfreq is implemented in terms of a
straight forward "base * ppb / 1 billion" calculation.

Convert this to the newer .adjfine, using the recently added
adjust_by_scaled_ppm helper function.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-11-11 10:58:39 +00:00
..
Kconfig net: ixp4xx_eth: Drop platform data support 2022-02-12 18:20:03 +01:00
Makefile ixp4xx_eth: make ptp support a platform driver 2021-08-30 09:59:11 +01:00
ixp4xx_eth.c net: xscale: Fix return type for implementation of ndo_start_xmit 2022-09-02 21:18:56 -07:00
ixp46x_ts.h ixp4xx_eth: make ptp support a platform driver 2021-08-30 09:59:11 +01:00
ptp_ixp46x.c ptp_ixp46x: convert .adjfreq to .adjfine 2022-11-11 10:58:39 +00:00