linux/drivers/net/ethernet/cadence
Harini Katakam 64d7839af8 net: macb: Fix ptp time adjustment for large negative delta
When delta passed to gem_ptp_adjtime is negative, the sign is
maintained in the ns_to_timespec64 conversion. Hence timespec_add
should be used directly. timespec_sub will just subtract the negative
value thus increasing the time difference.

Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-21 15:01:06 +09:00
..
Kconfig net: macb: Add support for PTP timestamps in DMA descriptors 2017-06-30 13:11:41 -04:00
macb_main.c drivers: net: Remove device_node checks with of_mdiobus_register() 2018-05-16 14:20:36 -04:00
macb_pci.c net: cadence: macb: constify pci_device_id. 2017-07-17 13:37:15 -07:00
macb_ptp.c net: macb: Fix ptp time adjustment for large negative delta 2018-06-21 15:01:06 +09:00
macb.h net: macb: Handle HRESP error 2018-01-29 14:25:47 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00