mirror of https://gitee.com/openkylin/linux.git
10bc877c76
For PTP timer supporting external trigger timestamp FIFO, there is a valid bit in TMR_STAT register indicating the timestamp is available. For PTP timer without FIFO, there is not TMR_STAT register. This patch is to check the valid bit for the FIFO before reading timestamp, and to avoid operating TMR_STAT register for PTP timer without the FIFO. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
idt8a340_reg.h | ||
ptp_chardev.c | ||
ptp_clock.c | ||
ptp_clockmatrix.c | ||
ptp_clockmatrix.h | ||
ptp_dte.c | ||
ptp_ixp46x.c | ||
ptp_kvm.c | ||
ptp_pch.c | ||
ptp_private.h | ||
ptp_qoriq.c | ||
ptp_qoriq_debugfs.c | ||
ptp_sysfs.c |