mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
In commit 184ecc9eb2 ("ptp: Add adjphase
function to support phase offset control.") the PTP Hardware Clock
interface expanded to support the ADJ_OFFSET offset mode. However,
the implementation did not respect the traditional yet pedantic
distinction between units of microseconds and nanoseconds signaled by
the ADJ_NANO flag. This patch fixes the issue by adding logic to
handle that flag.
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Vincent Cheng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>