[PATCH net-next 3/4] ptp: clockmatrix: Fix non-zero phase_adj is lost after snap

2020-12-08 Thread min.li.xe
From: Min Li Fix non-zero phase_adj is lost after snap. Use ktime_sub to do ktime_t subtraction. Signed-off-by: Min Li --- drivers/ptp/ptp_clockmatrix.c | 109 ++ drivers/ptp/ptp_clockmatrix.h | 5 +- 2 files changed, 90 insertions(+), 24 deletions(-)

[PATCH net-next 3/4] ptp: clockmatrix: Fix non-zero phase_adj is lost after snap

2020-12-03 Thread min.li.xe
From: Min Li Fix non-zero phase_adj is lost after snap. Use ktime_sub to do ktime_t subtraction. Signed-off-by: Min Li --- drivers/ptp/ptp_clockmatrix.c | 109 ++ drivers/ptp/ptp_clockmatrix.h | 5 +- 2 files changed, 90 insertions(+), 24 deletions(-)