diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2017-10-20 14:37:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 02:50:40 +0100 |
commit | 98870943a561c64aca22d10820a881aa4fa728e4 (patch) | |
tree | c0cdcc2062738a131026e859324560d777dc2ab1 /drivers/irqchip/irq-versatile-fpga.c | |
parent | 9c8080d068b861a80d430ba0b42d8c9b07366b66 (diff) | |
download | linux-98870943a561c64aca22d10820a881aa4fa728e4.tar.bz2 |
net: stmmac: Fix stmmac_get_rx_hwtstamp()
When using GMAC4 the valid timestamp is from CTX next desc but
we are passing the previous desc to get_rx_timestamp_status()
callback.
Fix this and while at it rework a little bit the function logic.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/irqchip/irq-versatile-fpga.c')
0 files changed, 0 insertions, 0 deletions