linux/drivers/net/ethernet/ti
Grygorii Strashko a93439cce2 net: ethernet: ti: cpts: fix fifo read in cpts_find_ts
Now the call chain
 cpts_find_ts()
  |- cpts_fifo_read(cpts, CPTS_EV_PUSH)

will stop reading CPTS FIFO if PUSH event is found. But this is not
expected and CPTS FIFI should be completely drained here. This is most
probably copy-paste error and it has no negative impact as CPTS_EV_PUSH
should not be present in FIFO without TS_PUSH request and
cpts_systim_read() and cpts_find_ts() synchronized by spin_lock.

Correct above by calling cpts_fifo_read() with -1 parameter, so it will
read all CPTS event from FIFO.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-01 15:22:55 -07:00
..
cpmac.c
cpsw_ale.c
cpsw_ale.h
cpsw-common.c drivers: net: cpsw-common: Fix reading of mac address for am43 SoCs 2017-06-22 11:14:47 -04:00
cpsw-phy-sel.c
cpsw.c net: ethernet: ti: cpsw: Push the request_irq function to the end of probe 2017-07-20 15:28:54 -07:00
cpsw.h
cpts.c net: ethernet: ti: cpts: fix fifo read in cpts_find_ts 2017-08-01 15:22:55 -07:00
cpts.h net: ethernet: ti: cpts: fix tx timestamping timeout 2017-08-01 15:22:55 -07:00
davinci_cpdma.c net: ethernet: ti: cpdma: do not enable host error misc irq 2017-06-10 22:10:13 -04:00
davinci_cpdma.h
davinci_emac.c
davinci_mdio.c
Kconfig
Makefile
netcp_core.c net: propagate tc filter chain index down the ndo_setup_tc call 2017-06-08 09:55:53 -04:00
netcp_ethss.c net: ethernet: ti: netcp_ethss: use cpts to check if packet needs timestamping 2017-06-29 12:28:57 -04:00
netcp_sgmii.c
netcp_xgbepcsr.c
netcp.h
tlan.c
tlan.h