diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2022-12-05 11:52:53 -0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-12-08 13:15:03 -0800 |
commit | 95af1f1c4c9f9f08bbdb40812248b7bc5868a1da (patch) | |
tree | c67a2b45026775df646972ad57670a65b1c7d32e /drivers/net/dsa | |
parent | f029a34394e7239f4111507b402ab234f990ec94 (diff) | |
download | linux-95af1f1c4c9f9f08bbdb40812248b7bc5868a1da.tar.bz2 |
ice: reschedule ice_ptp_wait_for_offset_valid during reset
If the ice_ptp_wait_for_offest_valid function is scheduled to run while the
driver is resetting, it will exit without completing calibration. The work
function gets scheduled by ice_ptp_port_phy_restart which will be called as
part of the reset recovery process.
It is possible for the first execution to occur before the driver has
completely cleared its resetting flags. Ensure calibration completes by
rescheduling the task until reset is fully completed.
Reported-by: Siddaraju DH <siddaraju.dh@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions