summaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
authorCsókás Bence <csokas.bence@prolan.hu>2022-08-22 10:10:52 +0200
committerDavid S. Miller <davem@davemloft.net>2022-08-24 10:53:23 +0200
commitf79959220fa5fbda939592bf91c7a9ea90419040 (patch)
tree78b7f0a580e019138316ca0cad88a4d10369a254 /net/key
parentnet: neigh: don't call kfree_skb() under spin_lock_irqsave() (diff)
downloadlinux-f79959220fa5fbda939592bf91c7a9ea90419040.tar.xz
linux-f79959220fa5fbda939592bf91c7a9ea90419040.zip
fec: Restart PPS after link state change
On link state change, the controller gets reset, causing PPS to drop out and the PHC to lose its time and calibration. So we restart it if needed, restoring calibration and time registers. Changes since v2: * Add `fec_ptp_save_state()`/`fec_ptp_restore_state()` * Use `ktime_get_real_ns()` * Use `BIT()` macro Changes since v1: * More ECR #define's * Stop PPS in `fec_ptp_stop()` Signed-off-by: Csókás Bence <csokas.bence@prolan.hu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions