On 02/04/2025 2:35, Jacob Keller wrote:
From: Christopher S M Hall <[email protected]>

All functions in igc_ptp.c called from igc_main.c should check the
IGC_PTP_ENABLED flag. Adding check for this flag to stop and reset
functions.

Fixes: 5f2958052c58 ("igc: Add basic skeleton for PTP")
Signed-off-by: Christopher S M Hall <[email protected]>
Reviewed-by: Corinna Vinschen <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
---
  drivers/net/ethernet/intel/igc/igc_ptp.c | 7 +++++++
  1 file changed, 7 insertions(+)

Tested-by: Mor Bar-Gabay <[email protected]>

Reply via email to