On Fri, Oct 04, 2024 at 08:47:13AM +0200, Karol Kolacinski wrote: > HW can have different input/output delays for each of the pins. > Add a field in ice_ptp_pin_desc structure to reflect that. > > Implement external timestamp delay compensation. > > Remove existing definitions and wrappers for periodic output propagation > delays. > > Reviewed-by: Przemek Kitszel <przemyslaw.kits...@intel.com> > Signed-off-by: Karol Kolacinski <karol.kolacin...@intel.com>
... > @@ -1767,6 +1778,7 @@ static int ice_ptp_write_perout(struct ice_hw *hw, > unsigned int chan, > static int ice_ptp_cfg_perout(struct ice_pf *pf, struct ptp_perout_request > *rq, > int on) > { > + unsigned int gpio_pin, prop_delay; > u64 clk, period, start, phase; > struct ice_hw *hw = &pf->hw; > unsigned int gpio_pin; The local variable gpio_pin is now declared twice :(