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:Andrei Botila <andrei.botila@nxp.com> Signed-off-by:
Zhantao Tang <zhantao.tang@windriver.com>
Loading
Please register or sign in to comment