diff options
| author | Andre Guedes <[email protected]> | 2020-07-28 23:37:52 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2020-09-28 21:42:45 +0000 |
| commit | 530a763db88e9eb9671b2c56343ca08f0c43cff6 (patch) | |
| tree | ce6f4b60cd821005104c9a985bdb15c3e0f61207 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | igc: Rename IGC_TSYNCTXCTL_VALID macro (diff) | |
| download | kernel-530a763db88e9eb9671b2c56343ca08f0c43cff6.tar.gz kernel-530a763db88e9eb9671b2c56343ca08f0c43cff6.zip | |
igc: Don't reschedule ptp_tx work
The ptp_tx work is scheduled only if TSICR.TXTS bit is set, therefore
TSYNCTXCTL.TXTT_0 bit is expected to be set when we check it igc_ptp_tx_
work(). If it isn't, something is really off and rescheduling the ptp_tx
work to check it later doesn't help much. This patch changes the code to
WARN_ON_ONCE() if this situation ever happens.
Signed-off-by: Andre Guedes <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
