aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2024-06-18 09:38:21 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-06-20 11:56:03 +0200
commit8851346912a1fa33e7a5966fe51f07313b274627 (patch)
tree9bffcaedd99b42b7f839b46c8f75cb212ec414ef /drivers/net/ethernet/intel/ice/ice_main.c
parent0f74d0cda90dae203ce5820ed0a8acbf93c0d73c (diff)
downloadlinux-8851346912a1fa33e7a5966fe51f07313b274627.tar.gz
linux-8851346912a1fa33e7a5966fe51f07313b274627.tar.bz2
linux-8851346912a1fa33e7a5966fe51f07313b274627.zip
net: stmmac: Assign configured channel value to EXTTS event
Assign the configured channel value to the EXTTS event in the timestamp interrupt handler. Without assigning the correct channel, applications like ts2phc will refuse to accept the event, resulting in errors such as: ... ts2phc[656.834]: config item end1.ts2phc.pin_index is 0 ts2phc[656.834]: config item end1.ts2phc.channel is 3 ts2phc[656.834]: config item end1.ts2phc.extts_polarity is 2 ts2phc[656.834]: config item end1.ts2phc.extts_correction is 0 ... ts2phc[656.862]: extts on unexpected channel ts2phc[658.141]: extts on unexpected channel ts2phc[659.140]: extts on unexpected channel Fixes: f4da56529da60 ("net: stmmac: Add support for external trigger timestamping") Cc: stable@vger.kernel.org Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Link: https://lore.kernel.org/r/20240618073821.619751-1-o.rempel@pengutronix.de Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions