WSL2-Linux-Kernel/drivers/ptp
Vladimir Oltean c29f9aa350 ptp: only allow phase values lower than 1 period
The way we define the phase (the difference between the time of the
signal's rising edge, and the closest integer multiple of the period),
it doesn't make sense to have a phase value equal or larger than 1
period.

So deny these settings coming from the user.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-05 12:06:44 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile ptp: add VMware virtual PTP clock driver 2020-03-05 17:25:07 -08:00
idt8a340_reg.h ptp: ptp_clockmatrix: update to support 4.8.7 firmware 2020-07-30 16:46:59 -07:00
ptp_chardev.c ptp: only allow phase values lower than 1 period 2020-08-05 12:06:44 -07:00
ptp_clock.c ptp_clock: Let the ADJ_OFFSET interface respect the ADJ_NANO flag for PHC devices. 2020-05-25 17:55:17 -07:00
ptp_clockmatrix.c ptp: ptp_clockmatrix: update to support 4.8.7 firmware 2020-07-30 16:46:59 -07:00
ptp_clockmatrix.h ptp: ptp_clockmatrix: update to support 4.8.7 firmware 2020-07-30 16:46:59 -07:00
ptp_dte.c
ptp_idt82p33.c ptp: idt82p33: remove unnecessary comparison 2020-04-24 16:59:21 -07:00
ptp_idt82p33.h
ptp_ines.c ptp: ptp_ines: convert to devm_platform_ioremap_resource 2020-04-29 11:44:08 -07:00
ptp_kvm.c ptp_kvm: Make kvm_ptp_lock static 2020-04-20 11:02:56 -07:00
ptp_pch.c ptp_pch: use generic power management 2020-06-25 12:35:44 -07:00
ptp_private.h
ptp_qoriq.c
ptp_qoriq_debugfs.c
ptp_sysfs.c
ptp_vmw.c ptp: add VMware virtual PTP clock driver 2020-03-05 17:25:07 -08:00