Re: [PATCH] net: lan743x_ptp: convert to ktime_get_clocktai_ts64

From: David Miller
Date: Sun Aug 19 2018 - 13:58:06 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Wed, 15 Aug 2018 19:49:49 +0200

> timekeeping_clocktai64() has been renamed to ktime_get_clocktai_ts64()
> for consistency with the other ktime_get_* access functions.
>
> Rename the new caller that has come up as well.
>
> Question: this is the only ptp driver that sets the hardware time
> to the current system time in TAI. Why does it do that?
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Deciding whether PTP drivers should set the hardware time at boot
to the current system time is a separate discussion from using
the new name for the timekeeping_clocktai64() interface, I'm applying
this.

Thanks Arnd.