commit | cd734d54e67990eebfc3106dc39047c1141d4197 | [log] [tgz] |
---|---|---|
author | Richard Cochran <richardcochran@gmail.com> | Thu Nov 14 10:44:55 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 15 12:48:32 2019 -0800 |
tree | a1ce109f184aab98be6e688c3e36f6a9804e1da8 | |
parent | 3df70afe8d33f4977d0e0891bdcfb639320b5257 [diff] |
ptp: Validate requests to enable time stamping of external signals. Commit 415606588c61 ("PTP: introduce new versions of IOCTLs") introduced a new external time stamp ioctl that validates the flags. This patch extends the validation to ensure that at least one rising or falling edge flag is set when enabling external time stamps. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>