Re: [PATCH] Added additional callback to ptp_clock_info:

2015-06-25 Thread Richard Cochran
On Thu, Jun 25, 2015 at 04:42:57PM -0700, Christopher Hall wrote: > @@ -196,19 +196,31 @@ long ptp_ioctl(struct posix_clock *pc, unsigned int > cmd, unsigned long arg) > break; > } > pct = &sysoff->ts[0]; > - for (i = 0; i < sysoff->n_s

[PATCH] Added additional callback to ptp_clock_info:

2015-06-25 Thread Christopher Hall
* getsynctime64() This takes 2 arguments referring to system and device time With this callback drivers may provide both system time and device time to ensure precise correlation Modified PTP_SYS_OFFSET ioctl in PTP clock driver to use the above callback if it's available Signed-off-by: Christo