diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-05-29 22:00:04 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-06-02 11:39:58 +0200 |
| commit | d5becddf8a0f18bcc18129efa086530b5263c6b4 (patch) | |
| tree | db465486be4c0f5b90c18691a96dfb2ee970120d /drivers/phy/apple/git@git.tavy.me:linux.git | |
| parent | fe1159fe49b40f73de88d2c29200c813952e061f (diff) | |
pps: Convert to ktime_get_snapshot_id()
ktime_get_snapshot() resolves to ktime_get_snapshot_id(CLOCK_REALTIME).
Make it obvious in the code and convert the readout to use the
snapshot::systime and monoraw fields instead of snapshot::real and raw,
which aregoing away.
Similar to the PPS generators, avoid the more expensive snapshot when
CONFIG_NTP_PPS is disabled.
No functional change intended.
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Arthur Kiyanovski <akiyano@amazon.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20260529195557.123410250@kernel.org
Diffstat (limited to 'drivers/phy/apple/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
