> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Karol > Kolacinski > Sent: Thursday, June 20, 2024 5:57 PM > To: [email protected] > Cc: [email protected]; Kolacinski, Karol <[email protected]>; > Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw > <[email protected]>; Keller, Jacob E <[email protected]>; > Olech, Milena <[email protected]> > Subject: [Intel-wired-lan] [PATCH v2 iwl-net 1/3] ice: Fix improper extts > handling > > From: Milena Olech <[email protected]> > > Extts events are disabled and enabled by the application ts2phc. > However, in case where the driver is removed when the application is running, > channel remains enabled. As a result, in the next run of the app, two > channels are enabled and the information "extts on unexpected channel" is > printed to the user. > > To avoid that, extts events shall be disabled when PTP is released. > > Fixes: 172db5f91d5f ("ice: add support for auxiliary input/output pins") > Reviewed-by: Przemek Kitszel <[email protected]> > Co-developed-by: Jacob Keller <[email protected]> > Signed-off-by: Jacob Keller <[email protected]> > Signed-off-by: Milena Olech <[email protected]> > Signed-off-by: Karol Kolacinski <[email protected]> > --- > V1 -> V2: removed extra space and fixed return value in > ice_ptp_gpio_enable_e823() > > drivers/net/ethernet/intel/ice/ice_ptp.c | 106 ++++++++++++++++++----- > drivers/net/ethernet/intel/ice/ice_ptp.h | 8 ++ > 2 files changed, 92 insertions(+), 22 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
