]> git.baikalelectronics.ru Git - kernel.git/commit
ice: convert clk_freq capability into time_ref
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 13 Oct 2021 15:53:41 +0000 (08:53 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 21 Dec 2021 17:11:02 +0000 (09:11 -0800)
commit45781172636c4f69b48ef67b78e3772110e563e2
treedfca019db0c9bea3879a3638de7637e80bf32f23
parent403c413f8dc51a1bcb4957dfc369f3aab675244e
ice: convert clk_freq capability into time_ref

Convert the clk_freq value into the associated time_ref frequency value
for E822 devices. This simplifies determining the time reference value
for the clock.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_type.h