Skip to content
Commit 7c033960 authored by Csókás Bence's avatar Csókás Bence Committed by Greg Kroah-Hartman
Browse files

fec: Fix timer capture timing in `fec_ptp_enable_pps()`

commit 61d5e2a2 upstream.

Code reimplements functionality already in `fec_ptp_read()`,
but misses check for FEC_QUIRK_BUG_CAPTURE. Replace with function call.

Fixes: 28b5f058

 ("net: fec: ptp: fix convergence issue to support LinuxPTP stack")
Signed-off-by: default avatarCsókás Bence <csokas.bence@prolan.hu>
Link: https://lore.kernel.org/r/20220811101348.13755-1-csokas.bence@prolan.hu


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4c88931a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment