Skip to content
Commit 9e60fced authored by Andrei Botila's avatar Andrei Botila Committed by Zhantao Tang
Browse files

net: stmmac: read system time before setting target sec and nsec

commit 8c8864ffb5db7795e790681dd4256d5883f683ef from
https://github.com/nxp-auto-linux/linux



According to errata ERR050595 in Flexible PPS when the programmed
target time is less than the system time the pps output is generated
incorrectly. The proposed workaround is to read the system time seconds
and nanoseconds before setting the target time seconds and nanoseconds
registers.

Issue: ALB-11124
Signed-off-by: default avatarAndrei Botila <andrei.botila@nxp.com>
Signed-off-by: default avatarZhantao Tang <zhantao.tang@windriver.com>
parent e9ade72b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment