linux/drivers/ptp
Yangbo Lu 10bc877c76 ptp_qoriq: check valid status before reading extts fifo
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>
2019-12-16 15:56:41 -08:00
..
idt8a340_reg.h ptp: Add a ptp clock driver for IDT ClockMatrix. 2019-11-03 17:35:40 -08:00
Kconfig ptp: ptp_clockmatrix: Fix build error 2019-11-12 12:12:39 -08:00
Makefile ptp: Add a ptp clock driver for IDT ClockMatrix. 2019-11-03 17:35:40 -08:00
ptp_chardev.c ptp: Introduce strict checking of external time stamp options. 2019-11-15 12:48:32 -08:00
ptp_clock.c ptp: ptp_clock: Publish scaled_ppm_to_ppb 2019-06-13 22:34:55 -07:00
ptp_clockmatrix.c ptp: ptp_clockmatrix: Fix missing unlock on error in idtcm_probe() 2019-11-06 21:19:59 -08:00
ptp_clockmatrix.h ptp: Add a ptp clock driver for IDT ClockMatrix. 2019-11-03 17:35:40 -08:00
ptp_dte.c ptp: ptp_dte: use devm_platform_ioremap_resource() to simplify code 2019-10-10 16:21:13 -07:00
ptp_ixp46x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
ptp_kvm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ptp_pch.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
ptp_private.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
ptp_qoriq_debugfs.c ptp_qoriq: add little enadian support 2019-02-12 12:58:48 -05:00
ptp_qoriq.c ptp_qoriq: check valid status before reading extts fifo 2019-12-16 15:56:41 -08:00
ptp_sysfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00