From: Ben Hutchings Date: Mon, 3 Sep 2012 10:34:58 +0000 (+0100) Subject: pps/ptp: Allow PHC devices to adjust PPS events for known delay X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~132^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220a60a425146b0e37998cc0b3082f0541aad866;p=pandora-kernel.git pps/ptp: Allow PHC devices to adjust PPS events for known delay Initial version by Stuart Hodgson Some PHC device drivers may deliver PPS events with a significant and variable delay, but still be able to measure precisely what that delay is. Add a pps_sub_ts() function for subtracting a delay from the timestamp(s) in a PPS event, and a PTP event type (PTP_CLOCK_PPSUSR) for which the caller provides a complete PPS event. Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed